Run ID:75873
提交时间:2024-05-31 20:56:05
#include<iostream> #include<cstring> using namespace std; int main(){ int a,b,c; cin >> a >> b >> c; int mxx,mid,ndd; if (a<b && a<c){ mxx = a; if (b<c){ mid = b; ndd = c; }else{ mid = c; ndd = b; } }cout <<mxx<<" "<<mid<<" "<<ndd<<endl; }