Pagini recente » Borderou de evaluare (job #1030555) | Borderou de evaluare (job #382568) | Borderou de evaluare (job #605273) | Borderou de evaluare (job #1892648) | Borderou de evaluare (job #2958137)
Borderou de evaluare (job #2958137)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:48: warning: overflow in conversion from 'long int' to 'int' changes value from '-9999999999' to '-1410065407' [-Woverflow]
12 | int n, i, v[6000001], best[6000001], bestsum=-9999999999, r1 = 1, r2 = 0;
| ^~~~~~~~~~~
main.cpp:14:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
14 | for (i = 1; i <= n; i++)
| ^~~
main.cpp:16:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
16 | best [0]=-9999999999;
| ^~~~
main.cpp:16:14: warning: overflow in conversion from 'long int' to 'int' changes value from '-9999999999' to '-1410065407' [-Woverflow]
16 | best [0]=-9999999999;
| ^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 5 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 0ms | 184kb | Incorect | 0 |
7 | 0ms | 184kb | Incorect | 0 |
8 | 0ms | 184kb | Incorect | 0 |
9 | 5ms | 479kb | Incorect | 0 |
10 | 20ms | 1847kb | Incorect | 0 |
11 | 37ms | 3469kb | Incorect | 0 |
12 | 57ms | 5050kb | Incorect | 0 |
13 | 80ms | 6680kb | Incorect | 0 |
14 | 99ms | 8167kb | Incorect | 0 |
15 | 462ms | 40308kb | Incorect | 0 |
16 | 508ms | 44261kb | Incorect | 0 |
17 | 515ms | 44298kb | Incorect | 0 |
18 | 558ms | 48308kb | Incorect | 0 |
19 | 557ms | 48349kb | Incorect | 0 |
20 | 557ms | 48304kb | Incorect | 0 |
Punctaj total | 5 |