1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (Chinese)/整数的英语表示 [english-int-lcci].html

29 lines
907 B
HTML
Raw Normal View History

2022-03-27 20:38:29 +08:00
<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>注意本题与 273 题相同:<a href="https://leetcode-cn.com/problems/integer-to-english-words/">https://leetcode-cn.com/problems/integer-to-english-words/</a></p>