0_0_21087256_11041.cpp: In function 'int main()': 0_0_21087256_11041.cpp:45:27: error: 'j' was not declared in this scope if (a[i][j]!=0) ^