Borderou de evaluare (job #732671)

Utilizator avatar inforatica1210 Petre Alexia inforatica1210 IP ascuns
Problemă Divizor si multiplu (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 sept. 2023 17:49:38 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:13: warning: iteration 3534 invokes undefined behavior [-Waggressive-loop-optimizations] 13 | a[x]=1; | ~~~~^~ main.cpp:11:15: note: within this loop 11 | for (x=4;x<=n;x+=2) | ~^~~ main.cpp:25:16: warning: iteration 7071 invokes undefined behavior [-Waggressive-loop-optimizations] 25 | if (a[x]==0) {nr++;b[nr]=x;} | ~~~^ main.cpp:23:15: note: within this loop 23 | for (x=1;x<=n;x++) | ~^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
Punctaj total 0