In England the currency is made up of pound and pence. There are eight coins in general circulation: 1p, 2p, 5p, 10p, 20p, 50p, 100p, and 200p. Given target T (in pence), find the number of different ways T can be made using any number of coins.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= T <= 10^4
Tags:
