9.8 Given an infinite number of quarters (25 cents), dimes (10 cents), nickels (5 cents) and pennies (1 cent), write code to calculate the number of ways of representing n cents.
[CareerCup] 9.8 Represent N Cents 美分的组成
原文:http://www.cnblogs.com/grandyang/p/4840713.html