特牛网址导航

Consecutive Factors(求最大连续因数序列)-CSDN博客

网友收藏
文章浏览阅读521次。题目描述 Among all the factors of a positive integer N, there may existseveral consecutive numbers. For example, 630 can be factored as356*7, where 5, 6, and 7 are the three consecutive numbers. Nowgiven any positive N, you are supposed to find the maxim.