Building Blocks (BC#34 A,B)

After enjoying the movie,LeLe went home alone. LeLe decided to build blocks.LeLe has already builtpiles. He wants to move some blocks to makeconsecutive piles with exactly the same height.LeLe already put all of his blocks in these piles, which means he can not add any blocks into them. Besides, he can move a block from one pile to another or a new one,but not the position betweens two piles already exists.For instance,after one move,"3 2 3" can become "2 2 4" or "3 2 2 1",but not "3 1 1 3".You are request to calculate the minimum blocks should LeLe move.

,你爱我吗?已经爱到危险的程度了.危险到什么程度?已经不能一个人生活。

Building Blocks (BC#34 A,B)

相关文章:

你感兴趣的文章:

标签云: