/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void Tree::add(int, int, int)':
/in/foo.cc:62:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(L<=mid) add(lc,l,mid); if(R>mid) add(lv,mid+1,r);
   ^~
/in/foo.cc:62:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(L<=mid) add(lc,l,mid); if(R>mid) add(lv,mid+1,r);
                             ^~
/in/foo.cc: In function 'void Tree::query(int, int, int)':
/in/foo.cc:69:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(R>mid) query(lv,mid+1,r); _add-=addv[u];
   ^~
/in/foo.cc:69:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(R>mid) query(lv,mid+1,r); _add-=addv[u];
                                ^~~~
/in/foo.cc: In function 'void LCT::access(int)':
/in/foo.cc:104:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(t) modify(grt(t),-1); s[u][1]=t;
    ^~
/in/foo.cc:104:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(t) modify(grt(t),-1); s[u][1]=t;
                             ^
# 状态 耗时 内存占用
#1 Accepted 5ms 10.34 MiB
#2 Accepted 153ms 18.809 MiB
#3 Accepted 167ms 17.18 MiB
#4 Accepted 261ms 18.785 MiB
#5 Accepted 244ms 16.805 MiB
#6 Accepted 221ms 12.68 MiB
#7 Accepted 94ms 15.883 MiB
#8 Accepted 161ms 14.758 MiB
#9 Accepted 227ms 17.254 MiB
#10 Accepted 176ms 17.867 MiB

信息

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