Pagini recente » Borderou de evaluare (job #2519621) | Borderou de evaluare (job #123404) | Borderou de evaluare (job #2592451) | Borderou de evaluare (job #2924666) | Borderou de evaluare (job #2924242)
Borderou de evaluare (job #2924242)
Raport evaluator
Compilare:
main.cpp: In function 'void ciur()':
main.cpp:16:14: warning: iteration 250001 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:25:15: warning: iteration 500002 invokes undefined behavior [-Waggressive-loop-optimizations]
25 | if(c[i]) {
| ~~~^
main.cpp:24:22: note: within this loop
24 | for(int i = 3; i <= N; i++)
| ~~^~~~
main.cpp:30:15: warning: iteration 500002 invokes undefined behavior [-Waggressive-loop-optimizations]
30 | if(c[i]) v[i] = c[i];
| ~~~^
main.cpp:29:22: note: within this loop
29 | for(int i = 3; i <= N; ++i)
| ~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 2936kb | OK | 10 |
2 | 9ms | 4247kb | OK | 10 |
3 | 4ms | 2150kb | OK | 10 |
4 | 5ms | 2150kb | OK | 10 |
5 | 13ms | 4362kb | OK | 10 |
6 | 30ms | 4640kb | OK | 10 |
7 | 34ms | 4657kb | OK | 10 |
8 | 32ms | 4665kb | OK | 10 |
9 | 38ms | 4706kb | OK | 10 |
10 | 40ms | 4730kb | OK | 10 |
Punctaj total | 100 |