文章

116

粉丝

0

获赞

119

访问

6.4k

头像
字符串内排序 题解:
P1360 哈尔滨工业大学机试
发布于2026年1月29日 15:05
阅读数 42

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

 

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发