Borderou de evaluare (job #848730)

Utilizator avatar gaminggod Barbulescu Luca Traian gaminggod IP ascuns
Problemă Perechi multe Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 17 ian. 2026 13:30:57 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:13: warning: unused variable 'd' [-Wunused-variable] 36 | int d=2; | ^ main.cpp:16:13: warning: iteration 31998 invokes undefined behavior [-Waggressive-loop-optimizations] 16 | v[i]=1; | ~~~~^~ main.cpp:14:19: note: within this loop 14 | for(int i=2; i<=32000; i++) | ~^~~~~~~ main.cpp:20:15: warning: iteration 31998 invokes undefined behavior [-Waggressive-loop-optimizations] 20 | if(v[i]==1) | ~~~^ main.cpp:18:19: note: within this loop 18 | for(int i=2; i<=32000; i++) | ~^~~~~~~ main.cpp:16:13: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset 32000 is out of the bounds [0, 32000] of object 'v' with type 'bool [32000]' [-Warray-bounds=] 16 | v[i]=1; | ~~~~^~ main.cpp:10:10: note: 'v' declared here 10 | bool v[32000]= {1}; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 292 kb OK 10
2 1 ms 292 kb OK 10
3 4 ms 292 kb OK 10
4 12 ms 292 kb OK 10
5 317 ms 532 kb OK 10
6 87 ms 708 kb OK 10
7 771 ms 688 kb OK 10
8 114 ms 604 kb OK 10
9 211 ms 408 kb OK 10
10 1581 ms 468 kb OK 10
Punctaj total 100