摘要: class Solution { public: int res; priority_queue<int,vector<int>,greater<int>> minheap; unordered_set<int> s;//所有出现过的丑数放在集合中 int getUglyNumber(int n) 阅读全文
posted @ 2023-04-25 15:08 穿过雾的阴霾 阅读(15) 评论(0) 推荐(0)