Borderou de evaluare (job #1149208)
Utilizator | Data | 21 martie 2014 15:37:30 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:20: error: ‘INT_MIN’ was not declared in this scope
int i,j,k,sc,smax=INT_MIN,start,end,x,smin=0,pmin=0;
^
user.cpp:12:7: error: ‘x’ was not declared in this scope
in>>x;
^
user.cpp:17:11: error: ‘smin’ was not declared in this scope
sc=s[i]-smin;
^
user.cpp:21:4: error: ‘start’ was not declared in this scope
start=pmin+1;
^
user.cpp:21:10: error: ‘pmin’ was not declared in this scope
start=pmin+1;
^
user.cpp:22:7: error: overloaded function with no contextual type information
end=i;
^
user.cpp:27:4: error: ‘pmin’ was not declared in this scope
pmin=i;
^
user.cpp:30:18: error: ‘start’ was not declared in this scope
out<<smax<<" "<<start<<" "<<end;
^
user.cpp:8:8: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k,sc,smax=INT_MIN,start,end,x,smin=0,pmin=0;
^
user.cpp:8:10: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,sc,smax=INT_MIN,start,end,x,smin=0,pmin=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !