让答案来得更猛烈一些吧

魈凯KBS  •  5个月前


include <bits/stdc++.h>

using namespace std;

int main()

{ double x, y, z

; cin >> x >> y >> z; if(x > y)

swap(x, y);

if(x > z)

swap(x, z);

if(y > z)

swap(y, z);

cout << x << " " << y << " " << z;

                            return 0; 
                           }

评论: