a741. 10101 - Bangla Numbers
Tags :
Accepted rate: 1838人/ 2123人 ( 87%) [非即時]
評分方式:
Tolerant

最近更新 : 2013-11-16 08:22

Content
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.
Input
The input file may contain several test cases. Each case will contain a non-negative number <= 999999999999999.
Output
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.
Sample Input #1
23764
45897458973958
Sample Output #1
   1. 23 hajar 7 shata 64
   2. 45 lakh 89 hajar 7 shata 45 kuti 89 lakh 73 hajar 9 shata 58
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (100%): 1.0s , <1M
Hint :
ACM 10101 UVa
Tags:
出處:
UVa 10101 [管理者: taichunmin (和風信使) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
36285 vlva8166@gma ... (風行) a741
題目意思
4107 2023-07-13 12:03
49084 kenny980721. ... (有事直接私) a741
_cpp 3種方法
654 2025-07-23 02:54
41004 joccc014@gma ... (czone) a741
Python 想法&思路
1617 2024-06-23 16:44