文章

19

粉丝

0

获赞

74

访问

12.0k

头像
字符串内排序 题解:
P1360 哈尔滨工业大学机试
发布于 2026年3月
阅读数 463

#include<bits/stdc++.h>
using namespace std;

int main(){
    string s;
    while(cin >> s){
        sort(s.begin(),s.end());
        cout << s << endl;
    }
}

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发