文章

211

粉丝

1

获赞

1157

访问

47.7k

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

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

 

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发