/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:63:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int lc=o<<1,rc=lc|1,M=L+R>>1;
                         ~^~
/in/foo.cc: In function 'void add(int, int, int, int, int, short int)':
/in/foo.cc:71:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int lc=o<<1,rc=lc|1,M=L+R>>1;
                         ~^~
/in/foo.cc: In function 'int ask(int, int, int, int, int)':
/in/foo.cc:79:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int lc=o<<1,rc=lc|1,M=L+R>>1,ans=0;
                        ~^~
/in/foo.cc: In function 'void rot(int)':
/in/foo.cc:91:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(ch[fa][d]=ch[o][d^1])f[ch[fa][d]]=fa;
                         ^
/in/foo.cc: In function 'void access(int)':
/in/foo.cc:108:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(ch[x][1]=y){
                ^
# 状态 耗时 内存占用
#1 Accepted 5ms 12.316 MiB
#2 Accepted 115ms 17.082 MiB
#3 Accepted 118ms 14.938 MiB
#4 Accepted 140ms 18.156 MiB
#5 Accepted 148ms 14.09 MiB
#6 Accepted 158ms 12.551 MiB
#7 Accepted 52ms 11.707 MiB
#8 Accepted 90ms 10.211 MiB
#9 Accepted 110ms 15.59 MiB
#10 Accepted 112ms 15.84 MiB

信息

递交者
类型
递交
题目
P2014 树点涂色
语言
C++
递交时间
2019-08-14 16:47:31
评测时间
2019-08-14 16:47:31
评测机
分数
100
总耗时
1053ms
峰值内存
18.156 MiB