Borderou de evaluare (job #2823635)

Utilizator tiut_cristianTiut Cristian tiut_cristian Data 29 decembrie 2021 09:47:34
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
116ms1396kbOK1010
216ms1265kbOK1010
316ms1265kbOK1010
416ms1396kbOK1010
516ms1265kbOK1010
615ms1396kbOK1010
716ms1265kbOK1010
878ms1585kbIncorect00
974ms1585kbIncorect0
1069ms1585kbOK10
Punctaj total70

Ceva nu functioneaza?