【团体天梯赛】7-51 Consecutive Factors (20 分)
Input Specification:
Each input file contains one test case, which gives the integer N (1<N<2^31).
Output Specification:
For each test case, print in the first line the maximum number of consecutive factors. Then in the second line, print the smallest sequence of the consecutive factors in the format factor[1]factor[2]…*factor[k], where the factors are listed in increasing order, and 1 is NOT included.
Sample Input:
630 630 630
Sample Output:
3 3