Borderou de evaluare (job #2371693)
Utilizator | Data | 6 martie 2019 19:04: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:5:77: error: 'INT_MIN' was not declared in this scope
int n,i,x,max_so_far,max_ending_here,inceput,inceput2,sfarsit,max_negatives=INT_MIN,poz,negative;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:14:13: error: 'negative' was not declared in this scope
negative++;
^~~~~~~~
main.cpp:16:13: error: 'poz' was not declared in this scope
poz=i;
^~~
main.cpp:39:9: error: 'negative' was not declared in this scope
if (negative==n) out<<max_negatives<<" "<<poz<<" "<<poz<<"\n";
^~~~~~~~
main.cpp:39:47: error: 'poz' was not declared in this scope
if (negative==n) out<<max_negatives<<" "<<poz<<" "<<poz<<"\n";
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !