Borderou de evaluare (job #1124630)
| Utilizator | Data | 26 februarie 2014 13:00:33 | |
|---|---|---|---|
| Problema | Elicop | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void aterizat()’:
user.cpp:24:28: error: return-statement with a value, in function returning 'void' [-fpermissive]
if(y1<=y2) return false;
^
user.cpp:25:24: error: return-statement with a value, in function returning 'void' [-fpermissive]
else return true;
^
user.cpp:30:28: error: return-statement with a value, in function returning 'void' [-fpermissive]
if(y1<=y2) return false;
^
user.cpp:31:24: error: return-statement with a value, in function returning 'void' [-fpermissive]
else return false;
^
user.cpp: In function ‘int main()’:
user.cpp:50:21: error: could not convert ‘aterizat()’ from ‘void’ to ‘bool’
if(aterizat())
^
user.cpp:52:13: error: ‘corect’ was not declared in this scope
corect[i]=true;
^
user.cpp:55:17: error: ‘corect’ was not declared in this scope
else corect[i]=false;
^
user.cpp:59:17: error: ‘corect’ was not declared in this scope
if(!corect[i])
^
user.cpp:46:11: warning: unused variable ‘correct’ [-Wunused-variable]
bool *correct = new bool [k];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
