0_0_16596539_15916.cpp: In function 'int main()': 0_0_16596539_15916.cpp:50:16: error: 'i' was not declared in this scope if(i==9) printf("-1\n"); ^