aaaaa
2023-12-24 21:16:57
发布于:广东
3阅读
0回复
0点赞
#include <iostream>
#include <string>
using namespace std;
int main(){
string s1, s2;
cin >> s1 >> s2;
int len1 = s1.length();
int len2 = s2.length();
if(s1 > s2){
cout << s2 << " " << s1;
}else if(s1 == s2){
cout << s1;
}else{
cout << s1 << " " << s2;
}
return 0;
}
这里空空如也
有帮助,赞一个