记录详情

Wrong Answer

foo.cc: In function 'void Disparity(int, int, int, int, int, int)':
foo.cc:46:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   46 |   if ((i % 400 == 0) || (i % 4 == 0) && (i % 100 != 0))
      |                         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 30, expect 33. 4ms 384.0 KiB
#3 Wrong Answer Read 364, expect 365. 4ms 512.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1004 OO1-4 日期类Date
语言
C++
递交时间
2022-04-29 18:08:51
评测时间
2022-04-29 18:08:51
评测机
分数
60
总耗时
17ms
峰值内存
512.0 KiB