Borderou de evaluare (job #341064)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pets (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 ian. 2018 15:07:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:31:13: error: too many decimal points in number
user.cpp: In function ‘bool div(int)’:
user.cpp:9:9: error: overloaded function with no contextual type information
user.cpp:12:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
user.cpp:12:18: error: overloaded function with no contextual type information
user.cpp:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
user.cpp: In function ‘int main()’:
user.cpp:32:9: error: expected ‘;’ before ‘for’
user.cpp:32:22: error: ‘i’ was not declared in this scope
user.cpp:32:31: error: expected ‘;’ before ‘)’ token
user.cpp:41:20: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘bool’