运行 ID: 79943

Main.cc: In function ‘int f(int, int)’:
Main.cc:23:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Main.cc: At global scope:
Main.cc:41:13: error: redefinition of ‘int a [20][20]’
 int a[20][20];
             ^
Main.cc:4:5: note: ‘int a [20][20]’ previously declared here
 int a[20][20];
     ^
Main.cc:42:9: error: redefinition of ‘int b [20]’
 int b[20];
         ^
Main.cc:5:5: note: ‘int b [20]’ previously declared here
 int b[20];
     ^
Main.cc: In function ‘int f(int, int)’:
Main.cc:43:5: error: redefinition of ‘int f(int, int)’
 int f(int m,int n){
     ^
Main.cc:6:5: note: ‘int f(int, int)’ previously defined here
 int f(int m,int n){
     ^
Main.cc:60:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Main.cc: In function ‘int main()’:
Main.cc:61:5: error: redefinition of ‘int main()’
 int main()
     ^~~~
Main.cc:24:5: note: ‘int main()’ previously defined here
 int main()
     ^~~~
Main.cc: At global scope:
Main.cc:78:13: error: redefinition of ‘int a [20][20]’
 int a[20][20];
             ^
Main.cc:4:5: note: ‘int a [20][20]’ previously declared here
 int a[20][20];
     ^
Main.cc:79:9: error: redefinition of ‘int b [20]’
 int b[20];
         ^
Main.cc:5:5: note: ‘int b [20]’ previously declared here
 int b[20];
     ^
Main.cc: In function ‘int f(int, int)’:
Main.cc:80:5: error: redefinition of ‘int f(int, int)’
 int f(int m,int n){
     ^
Main.cc:6:5: note: ‘int f(int, int)’ previously defined here
 int f(int m,int n){
     ^
Main.cc:97:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Main.cc: In function ‘int main()’:
Main.cc:98:5: error: redefinition of ‘int main()’
 int main()
     ^~~~
Main.cc:24:5: note: ‘int main()’ previously defined here
 int main()
     ^~~~