Borderou de evaluare (job #702330)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre 3 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji2 | Status | evaluat |
Dată | 7 mar. 2023 14:38:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:17: error: 'cnt' was not declared in this scope; did you mean 'int'?
22 | cnt++;
| ^~~
| int
main.cpp:28:5: error: 'cnt' was not declared in this scope; did you mean 'int'?
28 | if (cnt == 0)
| ^~~
| int