/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'bool check(int)':
foo.cc:9:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    9 |  return year % 400 == 0 || year % 4 == 0 && year % 100 != 0;
      |                            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 20100102, expect 1. 1ms 384.0 KiB
#2 Wrong Answer Read 20200202, expect 0. 2ms 384.0 KiB
#3 Wrong Answer Read 50200205, expect 1. 2ms 384.0 KiB
#4 Wrong Answer Read 20200202, expect 0. 3ms 384.0 KiB
#5 Wrong Answer Read 40011004, expect 0. 3ms 384.0 KiB
#6 Wrong Answer Read 92211229, expect 1. 4ms 384.0 KiB
#7 Wrong Answer Read 20011002, expect 3. 3ms 384.0 KiB
#8 Wrong Answer Read 10200201, expect 79. 3ms 384.0 KiB
#9 Wrong Answer Read 40111104, expect 214. 2ms 384.0 KiB
#10 Wrong Answer Read 10011001, expect 331. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2010 回文日期
语言
C++
递交时间
2022-03-23 16:13:50
评测时间
2022-03-23 16:13:50
评测机
分数
0
总耗时
29ms
峰值内存
384.0 KiB