Borderou de evaluare (job #2508726)
Utilizator | Data | 12 decembrie 2019 20:58:21 | |
---|---|---|---|
Problema | Maxq | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int summax(int, int)':
main.cpp:23:19: error: 'INT_MIN' was not declared in this scope
int bestSum = INT_MIN, sum = 0, st, dr = 0, j = 0;
^~~~~~~
main.cpp:26:13: error: 'sum' was not declared in this scope
if (sum < 0){
^~~
main.cpp:28:16: error: 'j' was not declared in this scope
j = i;
^
main.cpp:32:23: error: 'sum' was not declared in this scope
if (bestSum < sum){
^~~
main.cpp:34:13: error: 'st' was not declared in this scope
st=j;
^~
main.cpp:34:16: error: 'j' was not declared in this scope
st=j;
^
main.cpp:35:13: error: 'dr' was not declared in this scope
dr = i;}
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !