摘要: Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat 阅读全文
posted @ 2018-07-30 23:41 最美遇见你 阅读(321) 评论(0) 推荐(0)
摘要: 这是一个通用的方法,还可以使用贪心算法: 可以先将每一列的0全部移动到这一列的上方,然后如果白色的棋子没有刚好形成两行,那么就依次 将移动之后 最下方的白色棋子移动到黑色棋子最高的地方。 阅读全文
posted @ 2018-07-30 21:04 最美遇见你 阅读(209) 评论(0) 推荐(0)