mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-09 17:31:41 +08:00
批量更新数据
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<p>An <strong>ugly number</strong> is a positive integer whose prime factors are limited to <code>2</code>, <code>3</code>, and <code>5</code>.</p>
|
||||
<p>An <strong>ugly number</strong> is a <em>positive</em> integer which does not have a prime factor other than 2, 3, and 5.</p>
|
||||
|
||||
<p>Given an integer <code>n</code>, return <code>true</code> <em>if</em> <code>n</code> <em>is an <strong>ugly number</strong></em>.</p>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 1
|
||||
<strong>Output:</strong> true
|
||||
<strong>Explanation:</strong> 1 has no prime factors, therefore all of its prime factors are limited to 2, 3, and 5.
|
||||
<strong>Explanation:</strong> 1 has no prime factors.
|
||||
</pre>
|
||||
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
Reference in New Issue
Block a user