Borderou de evaluare (job #768424)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ordine (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 mar. 2024 15:19:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bac(int)':
main.cpp:21:17: error: 'ok' was not declared in this scope
21 | ok=1;
| ^~
main.cpp:25:12: error: 'ok' was not declared in this scope
25 | if(ok==0)
| ^~
main.cpp:31:13: error: 'ex' was not declared in this scope; did you mean 'x'?
31 | ex=1;
| ^~
| x
main.cpp:33:9: error: 'ok' was not declared in this scope
33 | ok=0;
| ^~
main.cpp:44:20: error: 'ex' was not declared in this scope; did you mean 'x'?
44 | if(ex==1)
| ^~
| x