摘要: 题源:LeetCode 链接:https://leetcode-cn.com/problems/ugly-number-ii/ 考虑使用dp 1 class Solution { 2 public: 3 int nthUglyNumber(int n) { 4 vector<int> dp(n + 阅读全文
posted @ 2021-08-16 13:23 Danae丶 阅读(8) 评论(0) 推荐(0) 编辑