摘要: 真心好水的题。。。。 只需要求出砖块数目的平均值 ,再用每一摞砖的数目减去平均值 ,只取相减后大于0的或者只取小于零的相加 得到的和就是最少次数注意输出两个回车 题目及AC代码如下 Box of BricksLittle Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wall!'', he tells his older sister Alic 阅读全文
posted @ 2014-03-08 15:45 VOID修罗 阅读(260) 评论(0) 推荐(0) 编辑