Borderou de evaluare (job #2523505)
Utilizator | Data | 14 ianuarie 2020 11:45:08 | |
---|---|---|---|
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:12:5: error: redeclaration of 'int dr'
int dr=-1000000;
^~
main.cpp:10:9: note: 'int dr' previously declared here
int dr=0;
^~
main.cpp:27:15: error: 'smax' was not declared in this scope
if(sc>smax)
^~~~
main.cpp:33:10: error: 'smax' was not declared in this scope
out<<smax<<" "<<st<<" "<<dr;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !