会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Danae丶
博客园
首页
新随笔
联系
订阅
管理
2021年8月16日
丑数II
摘要: 题源: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)
编辑
公告