记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:30: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
  if(month==1||month==3||month==5|month==7||month==8||month==10||month==12) day=31;
                         ~~~~~^~~
/in/foo.cc:9:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(year%4==0&&year%100!=0||year%400==0)day=29;
      ~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 340.0 KiB
#2 Accepted 4ms 340.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 4ms 256.0 KiB
#5 Accepted 4ms 380.0 KiB
#6 Accepted 3ms 376.0 KiB
#7 Accepted 1ms 380.0 KiB
#8 Accepted 3ms 332.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 2ms 380.0 KiB

信息

递交者
类型
递交
题目
某年某月有几天
语言
C++
递交时间
2018-05-13 11:18:44
评测时间
2018-05-13 11:18:44
评测机
分数
100
总耗时
35ms
峰值内存
384.0 KiB