Borderou de evaluare (job #1149176)
Utilizator | Data | 21 martie 2014 15:21:28 | |
---|---|---|---|
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;
^
user.cpp:19:5: error: ‘start’ was not declared in this scope
start=i;
^
user.cpp:20:8: error: overloaded function with no contextual type information
end=j;
^
user.cpp:23:19: error: ‘start’ was not declared in this scope
out<<smax<<" "<<start<<" "<<end;
^
user.cpp:8:10: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,sc,smax=INT_MIN,start,end;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !