Borderou de evaluare (job #2924241)

Utilizator tudorp200Popa David Tudor tudorp200 Data 27 septembrie 2022 19:01:28
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void ciur()': main.cpp:16:14: warning: iteration 1000001 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 1000001 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
110ms2150kbOK10
28ms2150kbOK10
37ms2150kbOK10
49ms2281kbOK10
59ms2150kbOK10
67ms2150kbIncorect0
710ms2150kbIncorect0
813ms2793kbIncorect0
914ms2801kbIncorect0
108ms2150kbIncorect0
Punctaj total50

Ceva nu functioneaza?