Borderou de evaluare (job #8246)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Partitiile unui numar | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 feb. 2013 17:16:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int scrie(int)’:
user.cpp:9:11: error: a function-definition is not allowed here before ‘{’ token
user.cpp:10:5: error: ‘s’ was not declared in this scope
user.cpp:15:12: error: ‘sum’ was not declared in this scope
user.cpp:15:17: error: ‘par’ was not declared in this scope
user.cpp:19:11: error: a function-definition is not allowed here before ‘{’ token
user.cpp:26:1: error: expected ‘}’ at end of input
user.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]