Pagini recente » Borderou de evaluare (job #978577) | Borderou de evaluare (job #427866) | Borderou de evaluare (job #2159077) | Borderou de evaluare (job #982204) | Borderou de evaluare (job #2843653)
Borderou de evaluare (job #2843653)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:16: warning: iteration 99998 invokes undefined behavior [-Waggressive-loop-optimizations]
19 | fib[i] = min(fib[i - 1] + fib[i - 2], inf);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:18:19: note: within this loop
18 | for (i = 3; i <= inf; i++)
| ^
main.cpp:52:25: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
52 | k -= fib[p] * c;
| ~~~~~~~^~~
main.cpp:52:23: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
52 | k -= fib[p] * c;
| ~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 1114kb | Incorect | 0 |
2 | 6ms | 1114kb | Incorect | 0 |
3 | 6ms | 1118kb | Incorect | 0 |
4 | 6ms | 1118kb | Incorect | 0 |
5 | 6ms | 1130kb | Incorect | 0 |
6 | 59ms | 2641kb | Incorect | 0 |
7 | 59ms | 2547kb | Incorect | 0 |
8 | 59ms | 2523kb | Incorect | 0 |
9 | 59ms | 2514kb | Incorect | 0 |
10 | 59ms | 2564kb | Incorect | 0 |
Punctaj total | 0 |