/ 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 2ms 256.0 KiB
#2 Accepted 3ms 200.0 KiB
#3 Accepted 3ms 332.0 KiB
#4 Accepted 4ms 332.0 KiB
#5 Accepted 5ms 256.0 KiB
#6 Accepted 5ms 256.0 KiB
#7 Accepted 836ms 6.75 MiB
#8 Accepted 279ms 32.723 MiB
#9 Accepted 710ms 21.746 MiB
#10 Accepted 1065ms 32.703 MiB

信息

递交者
类型
递交
题目
P1828 项链工厂
语言
C++
递交时间
2017-08-17 22:32:44
评测时间
2017-08-17 22:32:44
评测机
分数
100
总耗时
2917ms
峰值内存
32.723 MiB