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>.

67 人解决,89 人已尝试。

82 份提交通过,共有 269 份提交。

3.9 EMB 奖励。

创建: 16 年,9 月前.

修改: 6 年,4 月前.

最后提交: 10 月前.

来源: UVa

题目标签
DP