Wrong Answer

foo.cc: In function 'int main()':
foo.cc:69:15: warning: unused variable 'i' [-Wunused-variable]
  int n1,n2,n3,i;
               ^
foo.cc:77:4: warning: 'n2' is used uninitialized in this function [-Wuninitialized]
  n3=unionSet(s1,n1,s2,n2,s3);
  ~~^~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read {3,13,23,33}, expect {1,3,5,7,9,13,23,33}. 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1145 数组模拟集合--并集
语言
C++
递交时间
2021-10-31 15:34:22
评测时间
2021-10-31 15:34:22
评测机
分数
50
总耗时
3ms
峰值内存
384.0 KiB