摘要:
链接:https://leetcode-cn.com/problems/jian-sheng-zi-lcof/ 思路: 1.假设ni >= 5, 3 * (ni - 3) >= ni ? 3ni - 9 >= ni ? 2ni >= 9 2.ni = 4, 4 = 2 * 2 3.2 * 2 * 2 阅读全文
posted @ 2020-02-19 16:19
景云ⁿ
阅读(107)
评论(0)
推荐(0)
摘要:
链接:https://leetcode-cn.com/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/ 思路: dfs 代码: class Solution { public: int get_single_sum(int x) { int s= 0; whi 阅读全文
posted @ 2020-02-19 15:45
景云ⁿ
阅读(153)
评论(0)
推荐(0)

浙公网安备 33010602011771号