foo.cc:42:2: error: stray '#' in program
}#include <bits/stdc++.h>
^
foo.cc: In function 'int main()':
foo.cc:17:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(l_n<l_m || l_n==l_m && n<m)
~~~~~~~~~^~~~~~
foo.cc: At global scope:
foo.cc:42:3: error: 'include' does not name a type
}#include <bits/stdc++.h>
^~~~~~~
foo.cc:44:10: error: redefinition of 'int a [505]'
int a[505],b[505];
^
foo.cc:3:5: note: 'int a [505]' previously declared here
int a[505],b[505];
^
foo.cc:44:17: error: redefinition of 'int b [505]'
int a[505],b[505];
^
foo.cc:3:12: note: 'int b [505]' previously declared here
int a[505],b[505];
^
foo.cc: In function 'int main()':
foo.cc:45:5: error: redefinition of 'int main()'
int main()
^~~~
foo.cc:4:5: note: 'int main()' previously defined here
int main()
^~~~
foo.cc:58:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(l_n<l_m || l_n==l_m && n<m)
~~~~~~~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务