foo.cc: In function 'void* m(SeqList&, SeqList&)':
foo.cc:26:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
26 | if (obj1.a[i] = obj2.a[j])
| ~~~~~~~~~~^~~~~~~~~~~
foo.cc:19:21: warning: unused variable 'n' [-Wunused-variable]
19 | int n = obj1.n;
| ^
foo.cc:36:9: warning: no return statement in function returning non-void [-Wreturn-type]
36 | }
| ^
foo.cc: In function 'int main()':
foo.cc:47:23: error: expected '}' at end of input
47 | m(c[0], c[1]);
| ^
foo.cc:39:1: note: to match this '{'
39 | {
| ^
[Hydro](https://hydro.ac)提供评测服务