Borderou de evaluare (job #2823634)

Utilizator tiut_cristianTiut Cristian tiut_cristian Data 29 decembrie 2021 09:40:54
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
520ms1531kbOK1010
620ms1540kbOK1010
716ms1265kbOK1010
8103ms1581kbTime limit exceeded00
9103ms1568kbTime limit exceeded0
10102ms1495kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?