0_0_18022145_17403.cpp:29:13: error: stray '\' in program if(a[i]==0) x=i\n,y=i%n; ^ 0_0_18022145_17403.cpp: In function 'int main()': 0_0_18022145_17403.cpp:29:29: error: expected ';' before 'n' if(a[i]==0) x=i\n,y=i%n; ^