1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-12 08:55:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
Files
leetcode-problemset/leetcode-cn/problem (Chinese)/整数的英语表示 [english-int-lcci].html
2025-09-29 14:43:44 +08:00

29 lines
927 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>给定一个整数,打印该整数的英文描述。</p>
<p><strong>示例 1</strong></p>
<pre>
<strong>输入:</strong>123
<strong>输出:</strong>"One Hundred Twenty Three"
</pre>
<p><strong>示例 2</strong></p>
<pre>
<strong>输入:</strong>12345
<strong>输出:</strong>"Twelve Thousand Three Hundred Forty Five"</pre>
<p><strong>示例 3</strong></p>
<pre>
<strong>输入:</strong>1234567
<strong>输出:</strong>"One Million Two Hundred Thirty Four Thousand Five Hundred Sixty Seven"</pre>
<p><strong>示例 4</strong></p>
<pre>
<strong>输入:</strong>1234567891
<strong>输出:</strong>"One Billion Two Hundred Thirty Four Million Five Hundred Sixty Seven Thousand Eight Hundred Ninety One"</pre>
<p>注意:本题与&nbsp;273 题相同:<a href="https://leetcode-cn.com/problems/integer-to-english-words/">https://leetcode-cn.com/problems/integer-to-english-words/</a></p>