#1381 Coins

16  2 s   128 MB  

Description

문제보기

Sample Input

Sample Output

2.44
0.33
0
Change for customer 1:
dollars: 2
quarters: 1
dimes: 1
nickels: 1
pennies: 4

Change for customer 2:
dollars: 0
quarters: 1
dimes: 0
nickels: 1
pennies: 3

Source

2010 Dennis Matveyev Online Programming Contest