计算第k个质因数只能为3,5,7的数
摘要:英文描述:Design an algorithm to find the kth number such that the only prime factorsare 3, 5, and 7思路:质因数只能为3,5,7,设这个数为val,则val = (3^i)(5^j)(7^n) (i,j,n>=...
阅读全文
posted @ 2015-06-09 17:16
posted @ 2015-06-09 17:16
posted @ 2015-05-19 19:06