fb pixel


When doing shopping, it’s petty hard to make a decision when the choice is big. You would like to buy a new phone, and after choosing a category of mid-range phones, you see that the specs are more or less the same but the prices can be different.
You decide to sort the unique prices to better understand the price range and what the market offers.
The input contains prices separated by a space.
The program should print the unique prices in increasing order.
200 400 200 350 250 250 600

200 250 350 400 600
To check your solution you need to sign in
Sign in to continue