记录详情

Wrong Answer

foo.cc: In function 'int isLeapYear(int)':
foo.cc:5:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    5 |  if(year%400==0||year%4==0&&year%100!=0)
      |                  ~~~~~~~~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:67:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   67 |  if(isLeapYear(year)==1&&month<3||isLeapYear(year2)==1&&month2>3)
      |     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 6716, expect 6717. 3ms 384.0 KiB
#2 Wrong Answer Read 18414, expect 18415. 5ms 384.0 KiB
#3 Wrong Answer Read 43223, expect 43252. 4ms 384.0 KiB
#4 Wrong Answer Read 79723, expect 79776. 4ms 384.0 KiB
#5 Wrong Answer Read 5112, expect 5114. 5ms 384.0 KiB

信息

递交者
类型
递交
题目
5-6 过去了多少天
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 19:30:02
评测时间
2022-07-28 19:30:02
评测机
分数
0
总耗时
23ms
峰值内存
384.0 KiB