0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 03:31:59 +00:00

B - Minimize Ordering

https://atcoder.jp/contests/abc242/submissions/29887509
This commit is contained in:
Baoshuo Ren 2022-03-05 20:41:44 +08:00
parent 8ef4b3dbe8
commit 7cffe43cf8
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

17
AtCoder/ABC242/B/B.cpp Normal file
View File

@ -0,0 +1,17 @@
#include <algorithm>
#include <iostream>
#include <string>
using std::cin;
using std::cout;
const char endl = '\n';
std::string s;
int main() {
std::ios::sync_with_stdio(false);
cin >> s;
std::sort(s.begin(), s.end());
cout << s << endl;
return 0;
}