Borderou de evaluare (job #748659)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cadouri | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 dec. 2023 16:43:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:13: error: expected '}' before 'else'
26 | else if(c == 2){
| ^~~~
main.cpp:13:21: note: to match this '{'
13 | else if( c == 1){
| ^
main.cpp:29:24: error: expected ';' before 'if'
29 | j /= 10
| ^
| ;
30 | if(k == j % 10){
| ~~