Pagini recente »
Borderou de evaluare (job #270745)
|
Borderou de evaluare (job #397178)
|
Borderou de evaluare (job #267428)
|
Borderou de evaluare (job #812488)
|
Borderou de evaluare (job #611296)
Borderou de evaluare (job #611296)
Raport evaluator
Compilare:
main.cpp: In function 'void ciur(int, int)':
main.cpp:21:20: warning: iteration 2999999 invokes undefined behavior [-Waggressive-loop-optimizations]
21 | if (prime[p])
| ~~~~~~~^
main.cpp:20:23: note: within this loop
20 | for (int p = 2; p <= 3000001; p++)
| ~~^~~~~~~~~~
main.cpp:27:28: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
27 | for(int i = k+1; i <= x+k; i++)
| ~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
139 ms
|
3932 kb
|
OK
|
10
|
2
|
139 ms
|
3932 kb
|
OK
|
10
|
3
|
139 ms
|
3801 kb
|
OK
|
10
|
4
|
139 ms
|
3928 kb
|
OK
|
10
|
5
|
139 ms
|
3932 kb
|
OK
|
10
|
6
|
139 ms
|
3801 kb
|
OK
|
10
|
7
|
139 ms
|
3928 kb
|
OK
|
10
|
8
|
139 ms
|
3928 kb
|
OK
|
10
|
9
|
139 ms
|
3932 kb
|
Incorect
|
0
|
10
|
137 ms
|
3801 kb
|
Incorect
|
0
|
Punctaj total
|
80
|