#include <bits/stdc++.h> using namespace std; int main() { double a=0,b=0,c=0; cin>>a>>b>>c; if(a>b) { double n=a; a=b; b=n; } if(a>c) { double x=a; a=c; c=x; } if(b>c) { double y=b; b=c; c=y; } cout<<a<<" "<<b<<" "<<c; return 0; }
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 羽润编程 universal account