Introduction - If you have any usage issues, please Google them yourself
Problem Description: A national system contains N kinds of coins with a face value (which must have a face value of 1), the current price of a commodity for P, at least take the number of coins can be bought