Borderou de evaluare (job #2823637)

Utilizator tiut_cristianTiut Cristian tiut_cristian Data 29 decembrie 2021 09:54:15
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
121ms1589kbOK1010
220ms1548kbOK1010
320ms1507kbOK1010
421ms1601kbOK1010
521ms1597kbOK1010
620ms1589kbOK1010
720ms1556kbOK1010
883ms1622kbIncorect00
974ms1622kbIncorect0
1074ms1622kbOK10
Punctaj total70

Ceva nu functioneaza?