Borderou de evaluare (job #2924240)

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
19ms2150kbOK10
214ms2781kbOK10
310ms2150kbOK10
48ms2150kbOK10
57ms2150kbOK10
615ms2805kbIncorect0
78ms2150kbIncorect0
810ms2150kbIncorect0
99ms2150kbIncorect0
1010ms2150kbIncorect0
Punctaj total50

Ceva nu functioneaza?