Borderou de evaluare (job #26376)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Rucsac fractionar | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 oct. 2013 10:49:27 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:28: error: expected ‘;’ at end of member declaration
user.cpp: In function ‘int cmp(gheozdan, gheozdan)’:
user.cpp:18:26: error: ‘i’ was not declared in this scope
user.cpp: In function ‘void greedy()’:
user.cpp:23:55: error: ‘c’ was not declared in this scope
user.cpp:29:1: error: a function-definition is not allowed here before ‘{’ token
user.cpp:34:1: error: expected ‘}’ at end of input
user.cpp: In function ‘int cmp(gheozdan, gheozdan)’:
user.cpp:19:12: warning: control reaches end of non-void function [-Wreturn-type]