mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
add leetcode problem-cn part2
This commit is contained in:
28
算法题(国内版)/problem (Chinese)/整数的英语表示 [english-int-lcci].html
Normal file
28
算法题(国内版)/problem (Chinese)/整数的英语表示 [english-int-lcci].html
Normal file
@@ -0,0 +1,28 @@
|
||||
<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>
|
Reference in New Issue
Block a user