提交时间:2024-01-23 16:24:36

运行 ID: 125089

#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; }