0_0_25791710_1116.cpp: In function 'int main()': 0_0_25791710_1116.cpp:41:5: error: 'cnt' was not declared in this scope cnt=0; ^