摘要: 题目如下: Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 阅读全文
posted @ 2019-05-29 15:14 seyjs 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. Example: 解题思路:本题是《编程之美》上的题 阅读全文
posted @ 2019-05-29 14:34 seyjs 阅读(322) 评论(0) 推荐(0) 编辑