![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
5.5 质因子
小魚兒.
天下皆白,唯我独黑!
展开
-
5.5 PAT A 1059 Prime Factors (25分)(质因子分解)
1059 Prime Factors (25分) Given any positive integer NNN, you are supposed to find all of its prime factors, and write them in the format NNN = p1k1×p2k2×⋯×pmkm{p_1}^{k_1}\times {p_2}^{k_2} \times \cd...原创 2020-03-26 15:34:40 · 118 阅读 · 0 评论 -
5.5 PAT A1096 Consecutive Factors (20分)(连续质因子)
1096 Consecutive Factors (20分) Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3×5×6×7, where 5, 6, and 7 are the three...原创 2020-03-30 15:01:26 · 91 阅读 · 0 评论