Borderou de evaluare (job #2211741)
Utilizator | Data | 11 iunie 2018 16:47:11 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:27: error: ‘INT_MAX’ was not declared in this scope
int n,i,j,a[1010],s,smax=-INT_MAX,p1,p2,nr;
^~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:16:5: error: ‘nr’ was not declared in this scope
nr=0;
^~
user.cpp:25:13: error: ‘p2’ was not declared in this scope
p2=j;
^~
user.cpp:26:13: error: ‘p1’ was not declared in this scope
p1=j-nr;
^~
user.cpp:30:22: error: ‘p1’ was not declared in this scope
fout<<smax<<" "<<p1<<" "<<p2;
^~
user.cpp:30:31: error: ‘p2’ was not declared in this scope
fout<<smax<<" "<<p1<<" "<<p2;
^~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !