Wrong Answer

foo.cc: In function 'int unionSet(int*, int, int*, int, int*)':
foo.cc:56:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(flag==0)
   ^~
foo.cc:58:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    n3++;
    ^~
foo.cc: In function 'int main()':
foo.cc:64:15: warning: unused variable 'i' [-Wunused-variable]
  int n1,n2,n3,i; 
               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read {1,3,5,7,9,0,13,..., expect {1,3,5,7,9,13,23,33}. 1ms 384.0 KiB
#2 Wrong Answer Read {2,3,4,6,0,0,0,0}, expect {2,3,4,6}. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1145 数组模拟集合--并集
语言
C++
递交时间
2021-10-24 16:48:55
评测时间
2021-10-24 16:48:55
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB