1536. Ugly Numbers

单点时限: 2.0 sec

内存限制: 256 MB

Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence

$1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, \ldots$

shows the first $11$ ugly numbers. By convention, 1 is included.

Write a program to find and print the 1500’th ugly number.

输出格式

Write The 1500'th ugly number is <number>.

55 人解决,74 人已尝试。

69 份提交通过,共有 234 份提交。

4.1 EMB 奖励。

创建: 13 年,2 月前.

修改: 2 年,9 月前.

最后提交: 3 周,6 天前.

来源: UVa

题目标签
DP