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||month==2&&year%400==0)
     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 1ms 380.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Wrong Answer 1ms 332.0 KiB

信息

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