#T632. 换零钞
换零钞
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 with only two 100-yuan bills, which is quite 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 the number of 2-yuan bills in the exchanged 200 yuan must be exactly 10 times the number of 1-yuan bills.
The remaining amount, of course, will be in 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 that you need to submit an integer as the answer. Do not include any extraneous 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, 2018Source