0_0_23650993_2235.cpp: In function 'int main()': 0_0_23650993_2235.cpp:20:9: error: 'j' was not declared in this scope if(j!=m*i+m-1) ^