Borderou de evaluare (job #2924239)

Utilizator tudorp200Popa David Tudor tudorp200 Data 27 septembrie 2022 18:58:30
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void ciur()': main.cpp:16:14: warning: iteration 50001 invokes undefined behavior [-Waggressive-loop-optimizations] 16 | c[i] = 1; | ~~~~~^~~ main.cpp:15:22: note: within this loop 15 | for(int i = 3; i <= N; i += 2) | ~~^~~~ main.cpp:24:15: warning: iteration 50001 invokes undefined behavior [-Waggressive-loop-optimizations] 24 | if(c[i]) pr[++ct] = i; | ~~~^ main.cpp:23:22: note: within this loop 23 | for(int i = 3; i <= N; i += 2) | ~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
20ms184kbIncorect0
30ms184kbIncorect0
40ms184kbIncorect0
50ms184kbIncorect0
60ms184kbIncorect0
70ms184kbIncorect0
80ms184kbIncorect0
91ms184kbIncorect0
100ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?