Borderou de evaluare (job #2479089)
Utilizator | Data | 23 octombrie 2019 10:43:14 | |
---|---|---|---|
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 'void maxsubsum(int*, int)':
main.cpp:10:14: error: 'INT_MIN' was not declared in this scope
int maxt=INT_MIN,maxstop=0,start=0,fin=0,s=0;
^~~~~~~
main.cpp:13:9: error: 'maxstop' was not declared in this scope
maxstop=maxstop+a[i];
^~~~~~~
main.cpp:17:13: error: 'start' was not declared in this scope
start=s;
^~~~~
main.cpp:17:19: error: 's' was not declared in this scope
start=s;
^
main.cpp:18:13: error: 'fin' was not declared in this scope
fin=i;
^~~
main.cpp:23:13: error: 's' was not declared in this scope
s=i+1;
^
main.cpp:27:8: error: 'start' was not declared in this scope
g<<start<<'\n'<<fin;
^~~~~
main.cpp:27:21: error: 'fin' was not declared in this scope
g<<start<<'\n'<<fin;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !