经典指数          
原因
1167
浏览数
0
收藏数
 

Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output "Fu" first if it is negative. For example, -123456789 is read as "Fu yi Yi er Qian san Bai si Shi wu Wan liu Qian qi Bai ba Shi jiu". Note: zero ("ling") must be handled correctly according to the Chinese tradition. For example, 100800 is "yi Shi Wan ling ba Bai". 输入描述: Each input file contains one test case, which gives an integer with no more than 9 digits. 输出描述: For each test case, print in a line the Chinese way of reading the number. The characters are separated by a space and there must be no extra space at the end of the line. 输入例子: -123456789 输出例子: Fu yi Yi er Qian san Bai si Shi wu Wan liu Qian qi Bai ba Shi jiu

     举报   纠错  
 
切换
暂时还没有答案,欢迎分享你的解答 . . .
撰写答案
扫描后移动端查看本题