題號:10101 簡單 Base CPE必考一星題 CPE歷屆試題

Online Judge - 10101 - Bangla Numbers

來源代碼:UVa 時間限制:3 s

題目說明

Bangla numbers normally use ’kuti’ (10000000), ’lakh’ (100000), ’hajar’ (1000), ’shata’ (100) while expanding and converting to text. You are going to write a program to convert a given number to text with them.

輸入說明

The input file may contain several test cases. Each case will contain a non-negative number ≤ 999999999999999.

輸出說明

For each case of input, you have to output a line starting with the case number with four digits adjustment followed by the converted text.

輸入輸出範例

範例輸入
23764
45897458973958
範例輸出
   1. 23 hajar 7 shata 64
   2. 45 lakh 89 hajar 7 shata 45 kuti 89 lakh 73 hajar 9 shata 58

討論

登入後即可加入討論。 登入

目前還沒有討論文章。

提交解答

登入後即可提交解答。

登入

最近提交

n
C/C++ · 2026-08-27 09:31
AC
n
C/C++ · 2026-08-27 09:30
WA
n
C/C++ · 2026-08-27 09:26
WA
n
C/C++ · 2026-08-27 09:25
AC
n
C/C++ · 2026-08-27 09:25
WA
n
C/C++ · 2026-08-27 09:23
WA
Yanru
C/C++ · 2026-07-20 17:33
AC
baohao
Python · 2026-07-14 23:15
AC