Borderou de evaluare (job #1081876)
Utilizator | Data | 13 ianuarie 2014 22:26:40 | |
---|---|---|---|
Problema | Joctv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int sumMax()’:
user.cpp:13:16: error: ‘v’ was not declared in this scope
int i, s = v[1], sm = -inf;
^
user.cpp:18:16: error: ‘sm’ was not declared in this scope
if(s > sm) sm=s;
^
user.cpp:20:12: error: ‘sm’ was not declared in this scope
return sm;
^
user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !