Wrong Answer

/in/foo.cc: In function 'int IsLeapYear(int)':
/in/foo.cc:33:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(year%400==0 || year%4==0 && year%100!=0)
                    ~~~~~~~~~~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:70:11: warning: unused variable 'month' [-Wunused-variable]
  int year,month,d;
           ^~~~~
/in/foo.cc:70:17: warning: unused variable 'd' [-Wunused-variable]
  int year,month,d;
                 ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 416.0 KiB
#2 Wrong Answer 2ms 424.0 KiB

信息

递交者
类型
递交
题目
P1103 打印年历
语言
C++
递交时间
2021-12-12 11:57:37
评测时间
2021-12-12 11:57:37
评测机
分数
0
总耗时
4ms
峰值内存
424.0 KiB