Borderou de evaluare (job #2683824)
| Utilizator | Data | 12 decembrie 2020 10:22:09 | |
|---|---|---|---|
| Problema | Subsecventa de suma maxima | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:6:23: error: 'INT_MIN' was not declared in this scope
int n, st, dr, maxx = INT_MIN, sum, poz, x;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:16: error: 'x' was not declared in this scope
fin >> x;
^
main.cpp:13:13: error: 'sum' was not declared in this scope
if (sum < 0) {
^~~
main.cpp:15:13: error: 'poz' was not declared in this scope
poz = i;
^~~
main.cpp:21:13: error: 'sum' was not declared in this scope
if (sum > maxx) {
^~~
main.cpp:23:18: error: 'poz' was not declared in this scope
st = poz;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
