Borderou de evaluare (job #2491192)
Utilizator | Data | 11 noiembrie 2019 23:46:54 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:8: error: 'INT_MIN' was not declared in this scope
int mx=INT_MIN,poz=0,pozsf=0,s,v[1000],n;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:6: error: 'n' was not declared in this scope
fin>>n;
^
main.cpp:15:10: error: 'v' was not declared in this scope
fin>>v[i];
^
main.cpp:21:9: error: 's' was not declared in this scope
s=0;
^
main.cpp:24:17: error: 'v' was not declared in this scope
s=s+v[j];
^
main.cpp:29:13: error: 'poz' was not declared in this scope
poz=i;
^~~
main.cpp:30:13: error: 'pozsf' was not declared in this scope
pozsf=i+k-1;
^~~~~
main.cpp:35:16: error: 'poz' was not declared in this scope
fout<<mx<<' '<<poz<<' '<<pozsf;
^~~
main.cpp:35:26: error: 'pozsf' was not declared in this scope
fout<<mx<<' '<<poz<<' '<<pozsf;
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !