Toggle navigation
HUSTOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem2379--人民币支付
2379: 人民币支付
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
0
Solved:
0
[
Status
] [
Submit
] [Creator:
]
Description
给定指定的金额(以元为单位),然后输出支付该金额的各种面额的人民币数量,即输出面额分别为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
NOI
level2