0_0_17750805_31930.cpp: In function 'int main()': 0_0_17750805_31930.cpp:47:13: error: 'j' was not declared in this scope for(int k=j-1;k>0;k--){ ^