文章

38

粉丝

11

获赞

2

访问

17.5k

头像
字符串内排序 题解:
P1360 哈尔滨工业大学机试
发布于2024年8月27日 14:51
阅读数 559

#include<bits/stdc++.h>
using namespace std;
int main(){
    string s;
    while(cin >> s){;
        sort(s.begin(),s.end());
        cout << s << endl;
    }
    return 0;
}
 

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发