Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    9 |                 if(a1%100!=0&&a1%4==0||a1%400==0){
      |                    ~~~~~~~~~^~~~~~~~~
foo.cc:19:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   19 |                                 if(b1%100!=0&&b1%4==0||b1%400==0){
      |                                    ~~~~~~~~~^~~~~~~~~
foo.cc:31:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   31 |                                 if(b1%100!=0&&b1%4==0||b1%400==0){
      |                                    ~~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 6718, expect 6717. 4ms 412.0 KiB
#2 Wrong Answer Read 18416, expect 18415. 4ms 412.0 KiB
#3 Accepted 3ms 292.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Wrong Answer Read 5113, expect 5114. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1093 5-6 过去了多少天
比赛
2023.8高级班结业模拟测试
语言
C++
递交时间
2023-08-09 09:42:06
评测时间
2023-08-09 09:42:06
评测机
分数
40
总耗时
20ms
峰值内存
412.0 KiB