买了光脚玫瑰准备开种,却发现。。。# gardening - 拈花惹草
K*g
1 楼
8.7 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上的答案不对,请大家有什么好的方法吗?
nickels (5 cents) and pennies (1 cent), write code to calculate the number
of ways of representing n cents.
好像careercup上的答案不对,请大家有什么好的方法吗?