Borderou de evaluare (job #606724)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numărare (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 sept. 2021 18:31:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:21: error: expected initializer before '++' token
9 | int word=0,num=0,cnt++;
| ^~
main.cpp: In function 'int main()':
main.cpp:14:5: error: 'getch' was not declared in this scope; did you mean 'getc'?
14 | c=getch();
| ^~~~~
| getc
main.cpp:18:4: error: 'cnt' was not declared in this scope; did you mean 'int'?
18 | cnt++;
| ^~~
| int
main.cpp:24:4: error: 'cnt' was not declared in this scope; did you mean 'int'?
24 | cnt++;
| ^~~
| int