Borderou de evaluare (job #1966606)
Utilizator | Data | 15 aprilie 2017 13:38:32 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:13: error: ‘sum’ was not declared in this scope
if (sum < 0)
^
user.cpp:20:13: error: ‘j’ was not declared in this scope
j = i;
^
user.cpp:24:20: error: ‘sum’ was not declared in this scope
if (maxx < sum)
^
user.cpp:27:13: error: ‘a’ was not declared in this scope
a = j;
^
user.cpp:27:17: error: ‘j’ was not declared in this scope
a = j;
^
user.cpp:28:13: error: ‘b’ was not declared in this scope
b = i;
^
user.cpp:31:21: error: ‘a’ was not declared in this scope
out<<maxx<<' '<<a<<' '<<b;
^
user.cpp:31:29: error: ‘b’ was not declared in this scope
out<<maxx<<' '<<a<<' '<<b;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !