Accepted

foo.cc: In function 'int printMonth(int, int)':
foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc: In function 'int IsLeapYear(int)':
foo.cc:29:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(year%400==0||year%4==0&&year%100!=0)
                    ~~~~~~~~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:79:19: warning: unused variable 'd' [-Wunused-variable]
    int year,month,d;
                   ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 400.0 KiB
#2 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1094 打印月历
语言
C++
递交时间
2021-08-13 09:06:14
评测时间
2021-08-13 09:06:14
评测机
分数
100
总耗时
3ms
峰值内存
400.0 KiB