Borderou de evaluare (job #649581)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Concurs (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 mai 2022 10:12:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:34: error: 's1' was not declared in this scope
8 | int h, i, n, x, ok=0, ok2=0; s1=0, s2=0;
| ^~
main.cpp:8:40: error: 's2' was not declared in this scope
8 | int h, i, n, x, ok=0, ok2=0; s1=0, s2=0;
| ^~
main.cpp:18:17: error: expected ';' before '}' token
18 | ok2==0
| ^
| ;
19 | }
| ~
main.cpp:18:14: warning: statement has no effect [-Wunused-value]
18 | ok2==0
| ~~~^~~