题解
2023-07-30 13:36:24
发布于:安徽
4阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
if(s1<s2) cout<<s1<<" "<<s2<<endl;
else if(s1>s2) cout<<s2<<" "<<s1<<endl;
else cout<<s1<<endl;
return 0;
}
这里空空如也
有帮助,赞一个