class Solution { public: int GetUglyNumber_Solution(int index) { int factors[] = {2, 3, 5}; unordered_set<long> hash; // 哈希表防止有重复数进入 priority_queue<long,vector<long>, greater<long>> heap; // 小顶堆输出第n个丑叔 hash.insert(1); heap.push(1); ...