簡單 時間限制:3 s記憶體限制:256 MB

Online Judge - 10101 - Bangla Numbers

來源代碼:UVa
前往提交 ↓

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.

輸入輸出範例

範例 1

範例輸入
23764
45897458973958
範例輸出
   1. 23 hajar 7 shata 64
   2. 45 lakh 89 hajar 7 shata 45 kuti 89 lakh 73 hajar 9 shata 58
開啟討論
開啟紀錄

登入後即可撰寫程式、測試範例及提交解答。

登入