class Solution { public: int GetUglyNumber_Solution(int index) { int a = 2, b = 3, c = 5; int a_n = 0, b_n = 0, c_n = 0;//统计第n个丑数包含对应的a、b、c个数 vector<int> v_un(1, 1); while (v_un.size() < index) { a = v_un[a_n]*2;// 注意当前的丑数,可由之前的之前的数乘以基础因子得到 ...