Pagini recente » Borderou de evaluare (job #1917289) | Borderou de evaluare (job #700749) | Borderou de evaluare (job #2314537) | Borderou de evaluare (job #2494070) | Borderou de evaluare (job #2713930)
Borderou de evaluare (job #2713930)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:9: warning: statement has no effect [-Wunused-value]
fin >> n;
~~~~^~~~
main.cpp:14:13: warning: statement has no effect [-Wunused-value]
fin >> x;
~~~~^~~~
main.cpp:11: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:18:16: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
sum += x;
^
main.cpp:26:49: warning: 'fin' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << best_sum << " " << beg << " " << fin;
^
main.cpp:26: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 | 3ms | 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 |