mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 22:28:48 +00:00
B - Minimize Ordering
https://atcoder.jp/contests/abc242/submissions/29887509
This commit is contained in:
parent
8ef4b3dbe8
commit
7cffe43cf8
17
AtCoder/ABC242/B/B.cpp
Normal file
17
AtCoder/ABC242/B/B.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user