foo.cc: In function 'int main()':
foo.cc:49:11: error: a function-definition is not allowed here before '{' token
int main(){
^
foo.cc:48:5: warning: unused variable 'a' [-Wunused-variable]
int a[10000],b[10000],k=0,l=0,n,m;
^
foo.cc:48:14: warning: unused variable 'b' [-Wunused-variable]
int a[10000],b[10000],k=0,l=0,n,m;
^
foo.cc:48:23: warning: unused variable 'k' [-Wunused-variable]
int a[10000],b[10000],k=0,l=0,n,m;
^
foo.cc:48:27: warning: unused variable 'l' [-Wunused-variable]
int a[10000],b[10000],k=0,l=0,n,m;
^
foo.cc:48:31: warning: unused variable 'n' [-Wunused-variable]
int a[10000],b[10000],k=0,l=0,n,m;
^
foo.cc:48:33: warning: unused variable 'm' [-Wunused-variable]
int a[10000],b[10000],k=0,l=0,n,m;
^
foo.cc:137:1: error: expected '}' at end of input
}
^
[Hydro](https://hydro.ac)提供评测服务