记录详情

Accepted

/in/foo.cc: In function 'void date(int)':
/in/foo.cc:7:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if((y%4==1&&m<2||(m==2&&d<=28))||(y<=1900&&y>1896))  n-=1095;
      ~~~~~~^~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 316.0 KiB
#3 Accepted 2ms 316.0 KiB
#4 Accepted 2ms 208.0 KiB
#5 Accepted 1ms 316.0 KiB
#6 Accepted 1ms 316.0 KiB
#7 Accepted 1ms 204.0 KiB
#8 Accepted 1ms 316.0 KiB
#9 Accepted 1ms 316.0 KiB
#10 Accepted 2ms 204.0 KiB

信息

递交者
类型
递交
题目
1# 小胖的生日(birthday)
题目数据
下载
语言
C++
递交时间
2018-11-05 09:37:35
评测时间
2018-11-05 09:37:35
评测机
分数
50
总耗时
18ms
峰值内存
316.0 KiB