foo.cc: In function 'int Count(Node*)':
foo.cc:280:13: warning: unused variable 'i' [-Wunused-variable]
280 | int i;
| ^
foo.cc: In function 'Node* FINDMAX(Node*)':
foo.cc:320:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
320 | for (int i = 1; i < a.size()-1; i++)
| ~~^~~~~~~~~~~~
foo.cc:332:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
332 | for (int i = 0; i < b.size(); i++)
| ~~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:396:27: warning: unused variable 'c' [-Wunused-variable]
396 | 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)提供评测服务