Borderou de evaluare (job #509932)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Munți (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 dec. 2019 17:18:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function 'int main()':
user.cpp:12:9: error: expected ';' before 'if'
user.cpp:19:9: error: 'else' without a previous 'if'
user.cpp:22:13: error: 'munti' was not declared in this scope
user.cpp:23:22: error: 'maxinalt' was not declared in this scope
user.cpp:26:17: error: 'maximacnt' was not declared in this scope
user.cpp:30:17: error: 'maxinaltcnt' was not declared in this scope
user.cpp:50:17: error: 'munti' was not declared in this scope
user.cpp:51:22: error: 'maxinalt' was not declared in this scope
user.cpp:54:17: error: 'maximacnt' was not declared in this scope
user.cpp:58:17: error: 'maxinaltcnt' was not declared in this scope
user.cpp:68:21: error: 'maxinalt' was not declared in this scope
user.cpp:68:36: error: 'maxinaltcnt' was not declared in this scope
user.cpp:7:53: warning: unused variable 'inaltmax' [-Wunused-variable]
user.cpp:7:64: warning: unused variable 'inaltmaxcnt' [-Wunused-variable]