foo.cc: In function 'int Count(Node*)':
foo.cc:280:13: warning: unused variable 'i' [-Wunused-variable]
280 | int i;
| ^
foo.cc: In function 'int main()':
foo.cc:352:27: warning: unused variable 'c' [-Wunused-variable]
352 | int a[10000],b[10000],c[10000];
| ^
foo.cc: In function 'void remove(Node*, int, Node**)':
foo.cc:163:15: warning: 'tmp2' may be used uninitialized [-Wmaybe-uninitialized]
163 | tmp2->next=tmp->next;
| ~~~~~~~~~~^~~~~~~~~~
foo.cc:146:10: note: 'tmp2' was declared here
146 | Node*tmp2;
| ^~~~
[Hydro](https://hydro.ac)提供评测服务