foo.cc: In function 'void unique(node*)':
foo.cc:71:29: warning: variable 'pre2' set but not used [-Wunused-but-set-variable]
71 | node* pre = NULL, * pre2 = NULL, * i, * j;
| ^~~~
foo.cc: In function 'int main()':
foo.cc:156:21: warning: unused variable 'n3' [-Wunused-variable]
156 | int n1, n2, n3, i, t;
| ^~
foo.cc:156:25: warning: unused variable 'i' [-Wunused-variable]
156 | int n1, n2, n3, i, t;
| ^
foo.cc:156:28: warning: unused variable 't' [-Wunused-variable]
156 | int n1, n2, n3, i, t;
| ^
foo.cc:157:15: warning: unused variable 'head4' [-Wunused-variable]
157 | node* head4 = new node, * head5 = new node;
| ^~~~~
foo.cc:157:35: warning: unused variable 'head5' [-Wunused-variable]
157 | node* head4 = new node, * head5 = new node;
| ^~~~~
foo.cc:159:31: warning: unused variable 'head3' [-Wunused-variable]
159 | node* head1 = NULL, * head3 = NULL, * head2 = NULL;
| ^~~~~
[Hydro](https://hydro.ac)提供评测服务