记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:31:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(h1>'2' && h2>'4' || h1>'3' || m1>'5' && m2>'9' || m1>'6') cout<<"it's not a valid time"<<endl;
      ~~~~~~~^~~~~~~~~
foo.cc:31:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(h1>'2' && h2>'4' || h1>'3' || m1>'5' && m2>'9' || m1>'6') cout<<"it's not a valid time"<<endl;
                                    ~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 4d3 < it's not a valid time 1ms 384.0 KiB
#2 Wrong Answer 3d2 < 12:10 1ms 384.0 KiB
#3 Wrong Answer 4d3 < 21:11 2ms 384.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 384.0 KiB
#5 Wrong Answer Standard answer longer than user output. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1280 时间翻转
比赛
2021苏青奥赛集训营(2021/7/25训练赛)
语言
C++
递交时间
2021-07-25 09:24:15
评测时间
2021-07-25 09:24:15
评测机
分数
0
总耗时
12ms
峰值内存
384.0 KiB