/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void Splay::rotate(int)':
/in/foo.cc:49:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         if(ch[f][d]=ch[o][d^1])fa[ch[f][d]]=f;
            ~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:129:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
         }else if(c=='F')if(s[tree.rt]>=x)wt(tree.kth(x)+delta);
                 ^
# 状态 耗时 内存占用
#1 Accepted 111ms 1.574 MiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Accepted 4ms 316.0 KiB
#5 Accepted 11ms 588.0 KiB
#6 Accepted 8ms 956.0 KiB
#7 Accepted 26ms 1.227 MiB
#8 Accepted 45ms 1.18 MiB
#9 Accepted 110ms 1.504 MiB
#10 Accepted 131ms 1.816 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2018-12-08 15:09:31
评测时间
2018-12-08 15:09:41
评测机
分数
100
总耗时
453ms
峰值内存
1.816 MiB