0_0_22247323_28643.cpp: In function 'int main()': 0_0_22247323_28643.cpp:159:13: error: 'cnt' was not declared in this scope cnt = 0; ^