Accepted

foo.cc: In function 'int main()':
foo.cc:47:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   47 |     if(a%400==0||a%4==0&&a%100!=0) s++;
      |                  ~~~~~~^~~~~~~~~~
foo.cc:48:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   48 |     if(b%400==0||b%4==0&&b%100!=0) s++;
      |                  ~~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1625 闰年祝福
语言
C++
递交时间
2022-06-29 09:08:00
评测时间
2022-06-29 09:08:00
评测机
分数
100
总耗时
8ms
峰值内存
384.0 KiB