Run id: 140498
Main.cc: In function 'int main()':
Main.cc:5:5: warning: unused variable 'n1' [-Wunused-variable]
int n1;
^
Main.cc: In function 'int main()':
Main.cc:36:5: error: redefinition of 'int main()'
int main(){
^
Main.cc:3:5: note: 'int main()' previously defined here
int main(){
^
Main.cc:63:1: error: expected '}' at end of input
}
^
Main.cc:63:1: error: expected '}' at end of input
Main.cc:38:5: warning: unused variable 'n1' [-Wunused-variable]
int n1;
^
Main.cc:63:1: error: expected '}' at end of input
}
^
Main.cc: In function 'int main()':
Main.cc:6:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&m,&n);
^
Main.cc:12:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&matrix1[i][j]);
^
Main.cc: In function 'int main()':
Main.cc:39:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&m,&n);
^
Main.cc:45:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&matrix1[i][j]);
^