Wrong Answer

foo.cc: In function 'int IsLeapYear(int)':
foo.cc:35:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(year%400==0||year%4==0&&year%100!=0)
                  ~~~~~~~~~^~~~~~~~~~~~~
foo.cc: In function 'int WeekdayOfTheFirstDay(int, int)':
foo.cc:25:7: warning: 'days' may be used uninitialized in this function [-Wmaybe-uninitialized]
   days+=DaysOfYear(y);
   ~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 1ms 384.0 KiB
#2 Wrong Answer Standard answer longer than user output. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1094 打印月历
语言
C++
递交时间
2021-08-01 15:30:03
评测时间
2021-08-01 15:30:04
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB