Accepted

foo.cc: In function 'int guo(int, int, int)':
foo.cc:24:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   24 |    if(a%400==0 || a%4==0 && a%100!=0)
      |                   ~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int run(int)':
foo.cc:40:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   40 |  if(a%400==0 || a%4==0 && a%100!=0)
      |                 ~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int yuetian(int, int)':
foo.cc:59:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   59 |   if(a%400==0 || a%4==0 && a%100!=0)
      |                  ~~~~~~~^~~~~~~~~~~
foo.cc:68:1: warning: control reaches end of non-void function [-Wreturn-type]
   68 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1073 闰年、年天数、月天数-函数
语言
C++
递交时间
2022-07-13 16:17:30
评测时间
2022-07-13 16:17:30
评测机
分数
100
总耗时
8ms
峰值内存
384.0 KiB