Main.cc: In function ‘int main()’:
Main.cc:15:19: error: ‘j’ was not declared in this scope
for(int jc;i<=d;j++){
^
Main.cc:15:19: note: suggested alternative: ‘jc’
for(int jc;i<=d;j++){
^
jc
Main.cc:15:11: warning: unused variable ‘jc’ [-Wunused-variable]
for(int jc;i<=d;j++){
^~