Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: X-factor Chains
Description Given a positive integer 1 = Xsatisfying
X_{i}_{+1} and X | _{i}X_{i}_{+1} where a | b means a perfectly divides into b.Now we are interested in the maximum length of Input The input consists of several test cases. Each contains a positive integer Output For each test case, output the maximum length and the number of such Sample Input 2 3 4 10 100 Sample Output 1 1 1 1 2 1 2 2 4 6 Source POJ Monthly--2007.10.06, ailyanlu@zsu |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator