foo.cc: In function 'int main()':
foo.cc:290:27: warning: unused variable 'c' [-Wunused-variable]
  290 |     int a[10000],b[10000],c[10000];
      |                           ^
foo.cc: In function 'int FindMaxNeg(Node*)':
foo.cc:45:1: warning: control reaches end of non-void function [-Wreturn-type]
   45 | }
      | ^
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)提供评测服务