COM 300 Lecture Notes - Janya, Standard Streams
Document Summary
Bibi is a good daughter and she is very satis ed when she looks her mother counting money before her mother go to the traditional market. After her mother count that money, she always separate those money as 3 stacks (groups) of money. That stacks of money is used for buy some poultry (daging), vegetables (sayur), and eggs (telur). One day, bibi wants to go with her mother to the traditional market. But she only wants to spend those money with her way. They will go to the market area (poultry, veggies, and eggs area) from the highest budget. Because of this, they will buy the latest things (with the lowest budget) before they go home. Help bibi to nd out the shopping order with her mother. Given 1 line consists of 3 integers d, s, t, which describe budget for buying poultry (dag- ing), vegetable (sayur), and eggs (telur) in rupiah.