a741. 10101 - Bangla Numbers
標籤 :
通過比率 : 1216人/1393人 ( 87% ) [非即時]
評分方式:
Tolerant

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

內容
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
   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
提示 :
ACM 10101 UVa
標籤:
出處:
UVa10101 [管理者: taichunmin (和風信使) ]

本題狀況 本題討論 排行

編號 身分 題目 主題 人氣 發表日期
36285 vlva8166@gma ... (風行) a741
題目意思
1438 2023-07-13 12:03