记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:31:31: warning: right operand of comma operator has no effect [-Wunused-value]
   31 |                         b1++,s;
      |                               ^
foo.cc:49:32: warning: right operand of comma operator has no effect [-Wunused-value]
   49 |                         b1++,s1;
      |                                ^
foo.cc:6:22: warning: unused variable ‘x’ [-Wunused-variable]
    6 |         int n1,n2,n3,x=0,y=0,n;
      |                      ^
foo.cc:6:26: warning: unused variable ‘y’ [-Wunused-variable]
    6 |         int n1,n2,n3,x=0,y=0,n;
      |                          ^
foo.cc:6:30: warning: unused variable ‘n’ [-Wunused-variable]
    6 |         int n1,n2,n3,x=0,y=0,n;
      |                              ^
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 3ms 580.0 KiB
#4 Accepted 2ms 536.0 KiB
#5 Accepted 2ms 324.0 KiB

信息

递交者
类型
递交
比赛
2024-3-22 信息教师练习赛(3)
语言
C++
递交时间
2024-03-28 16:34:58
评测时间
2024-03-28 16:34:58
评测机
分数
100
总耗时
14ms
峰值内存
580.0 KiB