运行 ID: 366584

Main.cc: In function ‘int main()’:
Main.cc:11:12: error: ‘i’ was not declared in this scope
  for(int k=i-1;k<=i+1;k++){
            ^
Main.cc:12:13: error: ‘j’ was not declared in this scope
   for(int d=j-1;d<=j+1;d++){  
             ^
Main.cc: At global scope:
Main.cc:17:2: error: ‘cout’ does not name a type; did you mean ‘cosl’?
  cout<