Accepted

foo.cc: In function 'int main()':
foo.cc:12:10: warning: unused variable 'FirstDay' [-Wunused-variable]
      int FirstDay,year,month;
          ^~~~~~~~
foo.cc: In function 'int IsLeapYear(int)':
foo.cc:59:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(year%400==0||year%4==0&&year%100!=0)
                  ~~~~~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 392.0 KiB

信息

递交者
类型
递交
题目
P1103 打印年历
语言
C++
递交时间
2021-10-07 17:15:26
评测时间
2021-10-07 17:15:26
评测机
分数
100
总耗时
4ms
峰值内存
392.0 KiB