摘要: 剑指 Offer 49. 丑数 1)会超时,数据范围只能到1200几 1 class Solution { 2 public: 3 int nthUglyNumber(int n) { 4 int k = 0,res; 5 for(int i = 1;;i ++){ 6 if(isUglyNum(i 阅读全文
posted @ 2022-07-25 22:23 balabalahhh 阅读(19) 评论(0) 推荐(0)