/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool isheap(int, bool)':
/in/foo.cc:14:29: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
  if((now<<1|1)<=n) if(s[now]>=s[now<<1|1]!=big) return false;
                       ~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 360.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Accepted 6ms 412.0 KiB
#6 Accepted 6ms 416.0 KiB
#7 Accepted 7ms 420.0 KiB
#8 Accepted 6ms 412.0 KiB
#9 Accepted 6ms 416.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1897 学姐吃牛排
语言
C++
递交时间
2019-08-03 21:42:04
评测时间
2019-08-03 21:42:04
评测机
分数
100
总耗时
50ms
峰值内存
420.0 KiB