-
热度指数:7724
时间限制:C/C++ 1秒,其他语言2秒
空间限制:C/C++ 64M,其他语言128M
-
算法知识视频讲解
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.
示例1
输出
Fu yi Yi er Qian san Bai si Shi wu Wan liu Qian qi Bai ba Shi jiu