67 人解决,89 人已尝试。
82 份提交通过,共有 269 份提交。
3.9 EMB 奖励。
单点时限: 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>.