Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:39: warning: right operand of comma operator has no effect [-Wunused-value]
   26 |                                 b1++,s;
      |                                       ^
/in/foo.cc:41:40: warning: right operand of comma operator has no effect [-Wunused-value]
   41 |                                 b1++,s1;
      |                                        ^
/in/foo.cc:5:22: warning: unused variable 'x' [-Wunused-variable]
    5 |         int n1,n2,n3,x=0,y=0,n;
      |                      ^
/in/foo.cc:5:26: warning: unused variable 'y' [-Wunused-variable]
    5 |         int n1,n2,n3,x=0,y=0,n;
      |                          ^
/in/foo.cc:5:30: warning: unused variable 'n' [-Wunused-variable]
    5 |         int n1,n2,n3,x=0,y=0,n;
      |                              ^
# 状态 耗时 内存占用
#1 Accepted 1ms 480.0 KiB
#2 Accepted 2ms 392.0 KiB
#3 Accepted 1ms 348.0 KiB
#4 Accepted 1ms 504.0 KiB
#5 Accepted 1ms 352.0 KiB

信息

递交者
类型
递交
题目
P1056 A10-5 集合的并集
语言
C++
递交时间
2026-07-24 20:32:40
评测时间
2026-07-24 20:32:40
评测机
分数
100
总耗时
9ms
峰值内存
504.0 KiB