0_0_34622634_17591.cpp: In function 'int main()': 0_0_34622634_17591.cpp:51:4: error: 'a' was not declared in this scope if(a[cnt]==0)cnt--; ^