文章

19

粉丝

0

获赞

65

访问

2.5k

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

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

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

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发