Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:7:34: warning: variable ‘ans1’ set but not used [-Wunused-but-set-variable]
    7 |         int a1[n1],a2[n2],a3[n3],ans1[max(n1,n2)],ans2[max(n1,n3)],an1=0,an2=0;
      |                                  ^~~~
foo.cc:7:51: warning: variable ‘ans2’ set but not used [-Wunused-but-set-variable]
    7 |         int a1[n1],a2[n2],a3[n3],ans1[max(n1,n2)],ans2[max(n1,n3)],an1=0,an2=0;
      |                                                   ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 496.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 760.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 504.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 504.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 504.0 KiB

信息

递交者
类型
递交
题目
P1055 A10-4 集合的交集
语言
C++
递交时间
2025-04-05 14:59:27
评测时间
2025-04-05 14:59:27
评测机
分数
0
总耗时
13ms
峰值内存
760.0 KiB