0_0_14970159_10805.cpp: In function 'void getnxt(int&, int)': 0_0_14970159_10805.cpp:143:16: error: 'cnt' was not declared in this scope if(i == 0) cnt++; ^