Pagini recente » Borderou de evaluare (job #1768530) | Borderou de evaluare (job #39456) | Borderou de evaluare (job #2228223) | Borderou de evaluare (job #3170722) | Borderou de evaluare (job #3209764)
Borderou de evaluare (job #3209764)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:18: warning: operation on 't' may be undefined [-Wsequence-point]
38 | ans[t++]=ans[0]*fib[t+1];
| ~^~
main.cpp:87:22: warning: operation on 't' may be undefined [-Wsequence-point]
87 | ans[t++]=ans[t-1]+ans[t-2];
| ~^~
main.cpp:87:22: warning: operation on 't' may be undefined [-Wsequence-point]
main.cpp:24:15: warning: iteration 45 invokes undefined behavior [-Waggressive-loop-optimizations]
24 | fib[i]=fib[i-1]+fib[i-2];
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:23:20: note: within this loop
23 | for (int i=3; i<=48; ++i){
| ~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
2 | 0ms | 303kb | Corect | 5 |
3 | 0ms | 303kb | Corect | 5 |
4 | 0ms | 303kb | Corect | 5 |
5 | 0ms | 303kb | Corect | 5 |
6 | 0ms | 303kb | Corect | 5 |
7 | 0ms | 303kb | Corect | 5 |
8 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
9 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
10 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
11 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
12 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
13 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
14 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
15 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
16 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
17 | 0ms | 303kb | Corect ! | 5 |
18 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
19 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
20 | 0ms | 303kb | lipsesc elemente din sirul initial | 0 |
Punctaj total | 35 |