Problem conlang
User liliputian
Submission Time 2023-05-14 08:55:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conlang.cpp: In function ‘int main()’:
conlang.cpp:27:13: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
27 | if (flag) cnt++;
| ^~~
| int
conlang.cpp:30:10: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
30 | cout << cnt << '\n';
| ^~~
| int