foo.cc: In function 'Node* Unique(Node*)':
foo.cc:67:32: warning: variable 'prev1' set but not used [-Wunused-but-set-variable]
67 | Node* p1 = new Node, * prev1 = new Node;
| ^~~~~
foo.cc: In function 'void SetInter(Node*, Node*)':
foo.cc:83:43: warning: variable 'prev1' set but not used [-Wunused-but-set-variable]
83 | Node* p1 = head1, * p2 = head2, * prev1 = NULL, * prev2 = NULL;
| ^~~~~
foo.cc:83:59: warning: variable 'prev2' set but not used [-Wunused-but-set-variable]
83 | Node* p1 = head1, * p2 = head2, * prev1 = NULL, * prev2 = NULL;
| ^~~~~
[Hydro](https://hydro.ac)提供评测服务