/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'node* build(int, int)':
/in/foo.cc:68:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'void splay(node*, node*)':
/in/foo.cc:101:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else rotate(y); rotate(x);
   ^~~~
/in/foo.cc:101:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
   else rotate(y); rotate(x);
                   ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 336.0 KiB

信息

递交者
类型
自测
题目
P1828 项链工厂
语言
C++
递交时间
2017-08-17 21:27:34
评测时间
2017-08-17 21:27:34
评测机
分数
10
总耗时
3ms
峰值内存
336.0 KiB