记录详情

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 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 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 时间翻转
语言
C++
递交时间
2021-07-25 11:35:08
评测时间
2021-07-25 11:35:08
评测机
分数
90
总耗时
13ms
峰值内存
384.0 KiB