Borderou de evaluare (job #406044)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Divprimi (clasa a 10-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 nov. 2018 14:59:03 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:20:1: error: stray ‘#’ in program
user.cpp: In function ‘int suma(int)’:
user.cpp:20:3: error: ‘include’ was not declared in this scope
user.cpp:20:20: error: expected primary-expression before ‘>’ token
user.cpp:22:1: error: expected primary-expression before ‘using’
user.cpp:22:1: error: expected ‘;’ before ‘using’
user.cpp:25:5: error: declaration of ‘int n’ shadows a parameter
user.cpp:27:1: error: a function-definition is not allowed here before ‘{’ token
user.cpp:23:6: warning: unused variable ‘div1’ [-Wunused-variable]
user.cpp:24:5: warning: unused variable ‘nrdiv’ [-Wunused-variable]
user.cpp:25:5: warning: unused variable ‘n’ [-Wunused-variable]
user.cpp:25:7: warning: unused variable ‘m’ [-Wunused-variable]
user.cpp:25:9: warning: unused variable ‘rez’ [-Wunused-variable]
user.cpp:60:1: error: expected ‘}’ at end of input
user.cpp:60:1: warning: no return statement in function returning non-void [-Wreturn-type]