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)
| ~~~^~~
信息
- 递交者
- 类型
- 递交
- 题目
- 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