Pagini recente » Borderou de evaluare (job #2209286) | Borderou de evaluare (job #677520) | Borderou de evaluare (job #582899) | Borderou de evaluare (job #343261) | Borderou de evaluare (job #3244402)
Borderou de evaluare (job #3244402)
Raport evaluator
Compilare:
main.cpp: In function 'void ciur()':
main.cpp:13:17: warning: iteration 250001 invokes undefined behavior [-Waggressive-loop-optimizations]
13 | prim[i] = 1;
| ~~~~~~~~^~~
main.cpp:12:18: note: within this loop
12 | for(i = 3; i <= 500005; i += 2)
| ~~^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:25:35: warning: iteration 500004 invokes undefined behavior [-Waggressive-loop-optimizations]
25 | sp[i] = sp[i - 1] + prim[i];
| ~~~~~~^
main.cpp:24:18: note: within this loop
24 | for(i = 1; i <= 500005; i++)
| ~~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 4231kb | Incorect | 0 |
| 2 | 2ms | 4227kb | Incorect | 0 |
| 3 | 2ms | 4227kb | Incorect | 0 |
| 4 | 2ms | 4227kb | Incorect | 0 |
| 5 | 2ms | 4227kb | Incorect | 0 |
| 6 | 2ms | 4227kb | Incorect | 0 |
| 7 | 2ms | 4227kb | Incorect | 0 |
| 8 | 2ms | 4227kb | Incorect | 0 |
| 9 | 2ms | 4227kb | Incorect | 0 |
| 10 | 2ms | 4227kb | Incorect | 0 |
| Punctaj total | 0 |