Borderou de evaluare (job #371327)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Rucsac fractionar | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 mar. 2018 20:25:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:1: error: expected ‘;’ after struct definition
user.cpp:12:1: warning: ‘typedef’ was ignored in this declaration [enabled by default]
user.cpp: In function ‘int main()’:
user.cpp:16:8: error: ‘n’ was not declared in this scope
user.cpp:16:11: error: ‘capacitate’ was not declared in this scope
user.cpp:18:9: error: ‘i’ was not declared in this scope
user.cpp:20:12: error: ‘nr’ was not declared in this scope
user.cpp:20:23: error: expected primary-expression before ‘.’ token
user.cpp:22:16: error: expected unqualified-id before ‘.’ token
user.cpp:25:11: error: ‘ok’ was not declared in this scope
user.cpp:28:13: error: ‘i’ was not declared in this scope
user.cpp:30:23: error: expected primary-expression before ‘.’ token
user.cpp:30:39: error: expected primary-expression before ‘.’ token
user.cpp:33:17: error: ‘special’ was not declared in this scope
user.cpp:33:32: error: expected primary-expression before ‘[’ token
user.cpp:34:24: error: expected unqualified-id before ‘[’ token
user.cpp:35:24: error: expected unqualified-id before ‘[’ token
user.cpp:40:9: error: ‘i’ was not declared in this scope
user.cpp:42:19: error: expected primary-expression before ‘.’ token