已解决 武建豪 中级天翼 #include<bits/stdc++.h> #include<cstring> using namespace std; int main(){ string a,b; cin>>a>>b; if(a[a.length()-1]%2==1&&b[b.length()-1]%2==1||a[a.length()-1]%2==0&&b[b.length()-1]%2==0){ cout<<a+b; } else{ cout<<b+a; } return 0; }