【例8.1】人民币支付
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
Given an amount in yuan (e.g., ), determine the number of each denomination of RMB needed to make up this amount. Display the number of yuan, yuan, yuan, yuan, yuan, and yuan bills, using as many large denominations as possible.
Input Format
A positive integer less than .
Output Format
Output one integer per line, representing the number of yuan, yuan, yuan, yuan, yuan, and yuan bills from top to bottom.
Sample
7357
0
1
1
1
0
20230913B班作业(1)
- Status
- Done
- Problem
- 5
- Open Since
- 2025-9-13 0:00
- Deadline
- 2025-9-21 23:59
- Extension
- 24 hour(s)