原创 Coin Change (II)

In a strange shop there are n types of coins of value A1, A2 ... An. You have to find the number of ways you can make K