Pagini recente » Borderou de evaluare (job #954262) | Borderou de evaluare (job #3125617) | Borderou de evaluare (job #1493946) | Borderou de evaluare (job #3196943) | Borderou de evaluare (job #2713928)
Borderou de evaluare (job #2713928)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:9: warning: statement has no effect [-Wunused-value]
fin >> n;
~~~~^~~~
main.cpp:13:13: warning: statement has no effect [-Wunused-value]
fin >> x;
~~~~^~~~
main.cpp:10:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, sum = 0, best_sum = -1e9, index, beg, fin, x;
^
main.cpp:17:16: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
sum += x;
^
main.cpp:25:49: warning: 'fin' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << best_sum << " " << beg << " " << fin;
^
main.cpp:25:39: warning: 'beg' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << best_sum << " " << beg << " " << fin;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 2ms | 131kb | Incorect | 0 |
14 | 2ms | 131kb | Incorect | 0 |
15 | 2ms | 131kb | Incorect | 0 |
16 | 2ms | 131kb | Incorect | 0 |
17 | 2ms | 131kb | Incorect | 0 |
18 | 2ms | 131kb | Incorect | 0 |
19 | 2ms | 131kb | Incorect | 0 |
20 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |