Accepted

/in/foo.cc: In function 'int IsLeapYear(int)':
/in/foo.cc:11:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (year%100!=0&&year%4==0||year%400==0)
      ~~~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 1ms 364.0 KiB

信息

递交者
类型
递交
题目
P1089 计算星期几
语言
C++
递交时间
2021-08-04 12:54:33
评测时间
2021-08-04 12:54:33
评测机
分数
100
总耗时
3ms
峰值内存
376.0 KiB