mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part2
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<p>Given any integer, print an English phrase that describes the integer (e.g., "One Thousand Two Hundred Thirty Four").</p>
|
||||
|
||||
<p><strong>Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> 123
|
||||
<strong>Output:</strong> "One Hundred Twenty Three"
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> 12345
|
||||
<strong>Output:</strong> "Twelve Thousand Three Hundred Forty Five"</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> 1234567
|
||||
<strong>Output:</strong> "One Million Two Hundred Thirty Four Thousand Five Hundred Sixty Seven"</pre>
|
||||
|
||||
<p><strong>Example 4:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> 1234567891
|
||||
<strong>Output:</strong> "One Billion Two Hundred Thirty Four Million Five Hundred Sixty Seven Thousand Eight Hundred Ninety One"</pre>
|
Reference in New Issue
Block a user