Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2713928)
| Utilizator | Data | 28 februarie 2021 22:10:05 | |
|---|---|---|---|
| Problema | Subsecventa de suma maxima | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
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 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
