#T429. 换零钞
换零钞
Description
The currency denominations on Planet X are only: 100 yuan, 5 yuan, 2 yuan, and 1 yuan, totaling 4 types.
Xiao Ming is traveling to Planet X and only has two 100-yuan bills, which is very inconvenient. He happens to pass by a Planet X bank and decides to exchange them for smaller denominations.
Xiao Ming is a bit obsessive and insists that in the 200-yuan exchange, the number of 2-yuan bills must be exactly 10 times the number of 1-yuan bills, with the rest being 5-yuan bills.
The bank staff is a bit troubled. Can you help calculate: under Xiao Ming's requirements, what is the minimum number of bills he must receive?
(The 5-yuan, 2-yuan, and 1-yuan denominations must all be included and cannot be 0.)
Input Format
None
Output Format
Note: The answer should be submitted as an integer. Do not include any additional content.
```input1 无 ``` ```output1 一个整数(题目答案) ``` ## HintNote that you need to submit an integer as the answer. Do not include any extraneous content.
Final exam questions from the 9th Lanqiao Cup C/C++ Group B National Finals in 2018Source