Wrong Answer

/in/foo.cc: In function 'void pd1()':
/in/foo.cc:14:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(n%4==0&&n%100!=0||n%400==0&&n%3200!=0)
     ~~~~~~^~~~~~~~~~
/in/foo.cc:14:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if(n%4==0&&n%100!=0||n%400==0&&n%3200!=0)
    ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 312.0 KiB
#2 Wrong Answer 1ms 420.0 KiB

信息

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