摘要:
Write a program to find then-th ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For example,1, 2, 3, 4, 5, 6, 8... 阅读全文
posted @ 2015-08-19 17:43 骄阳照林 阅读(206) 评论(0) 推荐(0) 编辑
|
|
摘要:
Write a program to find then-th ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For example,1, 2, 3, 4, 5, 6, 8... 阅读全文
posted @ 2015-08-19 17:43 骄阳照林 阅读(206) 评论(0) 推荐(0) 编辑
摘要:
Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For examp... 阅读全文
posted @ 2015-08-19 16:54 骄阳照林 阅读(117) 评论(0) 推荐(0) 编辑 |
|