sort 3 elements

Given 3 floating-point numbers, your task is to print them in increasing order.
Input
Output
4 -3.5 2
-3.5 2 4
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue