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 404.0 KiB
#2 Accepted 1ms 400.0 KiB
#3 Wrong Answer 1ms 336.0 KiB
#4 Accepted 1ms 324.0 KiB
#5 Wrong Answer 1ms 352.0 KiB

信息

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