Borderou de evaluare (job #2871683)

Utilizator DavidNenciuDavid Nenciu DavidNenciu Data 15 martie 2022 14:17:12
Problema Cifre4 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 18 | for(j=0;j<=5000000;j++) | ^~~ main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 20 | int x=1,pp=1; | ^~~ main.cpp:19:13: warning: iteration 50001 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | v[j]=0; | ~~~~^~ main.cpp:18:16: note: within this loop 18 | for(j=0;j<=5000000;j++) | ~^~~~~~~~~ main.cpp:19:13: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [200004, 20000003] is out of the bounds [0, 200004] of object 'v' with type 'int [50001]' [-Warray-bounds] 19 | v[j]=0; | ~~~~^~ main.cpp:7:5: note: 'v' declared here 7 | int v[50001],v2[500001],v3[5]={0,2,3,5,7}; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?