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:178:21: warning: unused variable 'n3' [-Wunused-variable]
178 | int n1, n2, n3, i, t;
| ^~
foo.cc:178:25: warning: unused variable 'i' [-Wunused-variable]
178 | int n1, n2, n3, i, t;
| ^
foo.cc:178:28: warning: unused variable 't' [-Wunused-variable]
178 | int n1, n2, n3, i, t;
| ^
foo.cc:179:15: warning: unused variable 'head4' [-Wunused-variable]
179 | node* head4 = new node, * head5 = new node;
| ^~~~~
foo.cc:179:35: warning: unused variable 'head5' [-Wunused-variable]
179 | node* head4 = new node, * head5 = new node;
| ^~~~~
foo.cc:181:31: warning: unused variable 'head3' [-Wunused-variable]
181 | node* head1 = NULL, * head3 = NULL, * head2 = NULL;
| ^~~~~
[Hydro](https://hydro.ac)提供评测服务