Run id: 140114

Main.cc: In function 'int main()':
Main.cc:15:9: error: expected ';' before '}' token
         }printf("\n"); 
         ^
Main.cc:6:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
                     ^
Main.cc:9:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
          scanf("%d",&a[j][i]);
                              ^