记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:12: warning: left operand of comma operator has no effect [-Wunused-value]
    8 |     if (s+n>=60,m+1>=60,h+1>=24)
      |         ~~~^~~~
/in/foo.cc:8:20: warning: right operand of comma operator has no effect [-Wunused-value]
    8 |     if (s+n>=60,m+1>=60,h+1>=24)
      |                 ~~~^~~~
/in/foo.cc:19:16: warning: left operand of comma operator has no effect [-Wunused-value]
   19 |     else if(s+n>60,m+(s+n)%60<60)
      |             ~~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 472.0 KiB
#2 Wrong Answer 1ms 472.0 KiB
#3 Wrong Answer 2ms 532.0 KiB
#4 Wrong Answer 1ms 492.0 KiB
#5 Wrong Answer 1ms 348.0 KiB

信息

递交者
类型
递交
题目
P1009 contest1-1 时间类Time
比赛
2026-11-13 C++实测1
语言
C++
递交时间
2026-11-13 20:39:02
评测时间
2026-11-13 20:39:02
评测机
分数
20
总耗时
9ms
峰值内存
532.0 KiB