-->
当前位置:首页 > 题库

PROGRAMMING:give change

Luz5年前 (2021-05-10)题库466
There are enough 5 cents, 2 cents and 1 cent coins to pay for a small change less than 1 yuan. How many coins do you need at least?
###Input format:
Enter the amount of change given in one line $$money / in [1, 100) $.
###Output format:
The output shows the quantity and total quantity of each coin in one line. The format is:
```
Fen5: the number of 5 pennies, fen2: the number of 2 pennies, Fen1: the number of 1 pennies, total: the total number of coins
```
Please note: there is a space after the comma and no space after the colon.
###Input example:
```in
twelve
```
###Output example:
```out
fen5:2, fen2:1, fen1:0, total:3
```







answer:If there is no answer, please comment