Pagini recente » Borderou de evaluare (job #626617) | Borderou de evaluare (job #309635) | Borderou de evaluare (job #1238811) | Borderou de evaluare (job #2156585) | Borderou de evaluare (job #2441605)
Borderou de evaluare (job #2441605)
Raport evaluator
Compilare:
main.cpp: In function 'void sieve()':
main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 4; i <= nmax; i += 2)
^~~
main.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
p[++k] = 2;
^
main.cpp:15:20: warning: iteration 500001 invokes undefined behavior [-Waggressive-loop-optimizations]
if (!ciur[i]) {
~~~~~~^
main.cpp:14:23: note: within this loop
for (int i = 3; i <= nmax; i += 2) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 18ms | 1441kb | OK | 10 | 10 |
2 | 18ms | 1441kb | OK | 10 | 10 |
3 | 18ms | 1441kb | OK | 10 | 10 |
4 | 17ms | 1441kb | OK | 10 | 10 |
5 | 17ms | 1441kb | OK | 10 | 10 |
6 | 17ms | 1441kb | OK | 10 | 10 |
7 | 17ms | 1441kb | OK | 10 | 10 |
8 | 76ms | 1441kb | OK | 10 | 30 |
9 | 54ms | 1441kb | OK | 10 |
10 | 66ms | 1441kb | OK | 10 |
Punctaj total | 100 |