![](https://img-blog.csdnimg.cn/20190927151117521.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
平衡树
加油啊
tomjobs
别慌,慌也没用
展开
-
Shuffle Cards Gym - 247729C(rope,平衡树)
Eddy likes to play cards game since there are always lots of randomness in the game. For most of the cards game, the very first step in the game is shuffling the cards. And, mostly the randomness in the game is from this step. However, Eddy doubts that if原创 2020-10-10 16:03:16 · 194 阅读 · 0 评论 -
杭电多校第九场 HDU 6873 Game(splay维护平移)
Problem Description There are n columns of blocks standing in a row. The i-th column has ai blocks in the beginning. Each block has size 1×1×1. Define (x,y) represent the block at column x and is the y-th block from bottom to top. You need to support two o原创 2020-09-08 16:16:59 · 245 阅读 · 0 评论