0_0_36930706_10597.cpp: In function 'void solve()': 0_0_36930706_10597.cpp:56:13: error: 'cnt' was not declared in this scope cnt = 0; ^