记录详情

Wrong Answer

foo.cc: In function 'bool IsLeapyear(int)':
foo.cc:5:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    5 |         if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0)return 1;
      |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1972, expect 6717. 4ms 416.0 KiB
#2 Wrong Answer Read 4910, expect 18415. 4ms 412.0 KiB
#3 Wrong Answer Read 10767, expect 43252. 4ms 432.0 KiB
#4 Wrong Answer Read 19551, expect 79776. 4ms 516.0 KiB
#5 Wrong Answer Read 1098, expect 5114. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
5-6 过去了多少天
语言
C++
递交时间
2023-12-26 20:16:02
评测时间
2023-12-26 20:16:02
评测机
分数
0
总耗时
21ms
峰值内存
516.0 KiB