提交时间:2023-09-13 13:22:18

运行 ID: 102330

#include<bits/stdc++.h> #define int long long using namespace std; signed main() { int a[5]={0}; for(int i=1;i<=3;++i) cin>>a[i]; sort(a,a+4); for(int i=1;i<=3;++i) cout<<a[i]<<" "; return 0; }