0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
5023: 【8课】【3033】人民币支付
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:139
Solved:90
Submit
Submit Record
Statistics
ShowOff!
Description
给定一个金额(以元为单位,如 345),现在想知道支付该金额的各种面额的人民币数量,显示 100 元,50 元,20 元,10 元,5 元,1 元各多少张,要求尽量使用大面额的钞票。
Input
一个小于
1000
的正整数。
Output
输出分行,每行显示一个整数,从上到下分别表示
100
元,
50
元,
20
元,
10
元,
5
元,
1
元人民币的张数。
Sample Input
Copy
735
Sample Output
Copy
7 0 1 1 1 0
Source/Category
一本通编程启蒙
顺序结构
Submit
Submit Record
Statistics
ShowOff!