Wrong Answer

foo.cc: In function 'void pd1()':
foo.cc:14:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   14 |  if(n%4==0&&n%100!=0||n%400==0&&n%3200!=0)
      |     ~~~~~~^~~~~~~~~~
foo.cc:14:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   14 |  if(n%4==0&&n%100!=0||n%400==0&&n%3200!=0)
      |    ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1094 打印月历
语言
C++
递交时间
2021-12-26 18:24:45
评测时间
2021-12-26 18:24:45
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB