Borderou de evaluare (job #3188433)

Utilizator emilian_tabaraEmilian Tabara emilian_tabara Data 2 ianuarie 2024 21:25:52
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:14: warning: iteration 99999 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | v[i] = 1; | ~~~~~^~~ main.cpp:18:24: note: within this loop 18 | for (long i = 1; i <= VALUE; i++) { | ~~^~~~~~~~ main.cpp:36:16: warning: iteration 99998 invokes undefined behavior [-Waggressive-loop-optimizations] 36 | if (v[i] == 1 && nr < val) { | ~~~^ main.cpp:34:24: note: within this loop 34 | for (long i = 2; i <= VALUE; i++) | ~~^~~~~~~~ main.cpp:41:17: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 41 | fout << y * y; | ^ main.cpp:9:16: note: 'y' was declared here 9 | long k, j, y; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms569kbOK10
20ms561kbOK10
30ms557kbOK10
40ms557kbOK10
50ms557kbOK10
60ms561kbIncorect0
70ms557kbIncorect0
80ms557kbIncorect0
90ms557kbIncorect0
100ms557kbIncorect0
Punctaj total50

Ceva nu functioneaza?