摘要: 链接:https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof/ 代码: class Solution { public: static bool cmp(int a, int b) { auto as = t 阅读全文
posted @ 2020-03-05 14:14 景云ⁿ 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/shu-zi-xu-lie-zhong-mou-yi-wei-de-shu-zi-lcof/ 思路: 1.确定是几位数 2.确定是第几个数 3.确定是第几位 代码: class Solution { public: int fi 阅读全文
posted @ 2020-03-05 13:55 景云ⁿ 阅读(166) 评论(0) 推荐(0) 编辑