Problem Description: There are 6 kinds of coins, with units 1, 5, 10, 50, 100, 500, respectively. You have infinite number of each of them. You are to deal with T test cases, and in each case you will be given a value M, where you should o…
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.