Borderou de evaluare (job #2823631)

Utilizator tiut_cristianTiut Cristian tiut_cristian Data 29 decembrie 2021 09:30:32
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void generareCiur(int&, int*)': main.cpp:17:15: warning: iteration 499999 invokes undefined behavior [-Waggressive-loop-optimizations] 17 | vf[i] = 1; | ~~~~~~^~~ main.cpp:16:22: note: within this loop 16 | for(int i = 3; i <= 1000001; i+=2) | ~~^~~~~~~~~~ main.cpp:19:16: warning: iteration 499999 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | if(vf[i]) | ~~~~^ main.cpp:18:22: note: within this loop 18 | for(int i = 3; i <= 1000001; i+=2) | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
116ms1269kbOK1010
216ms1269kbOK1010
316ms1265kbOK1010
416ms1265kbOK1010
516ms1396kbOK1010
616ms1265kbOK1010
716ms1269kbOK1010
8103ms1572kbTime limit exceeded00
9102ms1495kbTime limit exceeded0
10102ms1564kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?