Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(month==2&&year%4==0&&year%100!=0||year%400==0)
     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 388.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Wrong Answer 1ms 328.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1627 A1-3 分支结构练习:月份天数
语言
C++
递交时间
2024-11-05 22:09:02
评测时间
2024-11-05 22:09:02
评测机
分数
40
总耗时
8ms
峰值内存
388.0 KiB