0_0_28444050_23256.cpp: In function 'int main()': 0_0_28444050_23256.cpp:35:9: error: 'cnt' was not declared in this scope ++cnt; ^