Borderou de evaluare (job #2387297)
Utilizator | Data | 24 martie 2019 14:50:55 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:22: error: 'INT_MIN' was not declared in this scope
int suma=-1,best=INT_MIN,stbest=1,drbest=1,st=1;
^~~~~~~
main.cpp:20:13: error: 'st' was not declared in this scope
st=i;
^~
main.cpp:27:13: error: 'stbest' was not declared in this scope
stbest=st;
^~~~~~
main.cpp:27:20: error: 'st' was not declared in this scope
stbest=st;
^~
main.cpp:28:13: error: 'drbest' was not declared in this scope
drbest=i;
^~~~~~
main.cpp:31:21: error: 'stbest' was not declared in this scope
out<<best<<' '<<stbest<<' '<<drbest;
^~~~~~
main.cpp:31:34: error: 'drbest' was not declared in this scope
out<<best<<' '<<stbest<<' '<<drbest;
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !