记录详情

Compile Error

foo.cc: In function 'void Unique()':
foo.cc:30:8: error: 'head1' was not declared in this scope
   30 |     p1=head1;
      |        ^~~~~
foo.cc:31:8: error: 'head2' was not declared in this scope
   31 |     p2=head2;
      |        ^~~~~
foo.cc: In function 'int main()':
foo.cc:69:11: error: too many arguments to function 'void Unique()'
   69 |     Unique(head1);
      |     ~~~~~~^~~~~~~
foo.cc:25:6: note: declared here
   25 | void Unique()
      |      ^~~~~~
foo.cc:70:11: error: too many arguments to function 'void Unique()'
   70 |     Unique(head2);
      |     ~~~~~~^~~~~~~
foo.cc:25:6: note: declared here
   25 | void Unique()
      |      ^~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P3012 A10-5 集合的并集
语言
C++
递交时间
2023-11-25 19:04:46
评测时间
2023-11-25 19:04:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes