Pagini recente » Borderou de evaluare (job #1620887) | Borderou de evaluare (job #1970358) | Borderou de evaluare (job #1722577) | Borderou de evaluare (job #1711660) | Borderou de evaluare (job #2871683)
Borderou de evaluare (job #2871683)
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 |
1 | 2ms | 184kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |