/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool LCT::isroot(int)':
/in/foo.cc:54:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
 inline bool isroot(int x){return !f[x]||son[f[x]][0]!=x&&son[f[x]][1]!=x;}
                                         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 6ms 6.25 MiB
#2 Accepted 175ms 13.453 MiB
#3 Accepted 179ms 11.344 MiB
#4 Accepted 205ms 13.473 MiB
#5 Accepted 212ms 10.84 MiB
#6 Accepted 229ms 8.336 MiB
#7 Accepted 81ms 9.867 MiB
#8 Accepted 144ms 8.582 MiB
#9 Accepted 144ms 11.645 MiB
#10 Accepted 162ms 12.188 MiB

信息

递交者
类型
递交
题目
P2014 树点涂色
语言
C++
递交时间
2017-05-07 16:15:07
评测时间
2017-05-07 16:15:07
评测机
分数
100
总耗时
1543ms
峰值内存
13.473 MiB