Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Сортировка
RuslanMag
Nov 9th, 2019
52
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
/*
Сортировка
*/
#include <iostream>
#include <algorithm>
using
namespace
std
;
int
main
(
)
{
const
int
N
=
100000
;
char
S
[
N
]
;
cin
.
getline
(
S, N
)
;
sort
(
S, S
+
strlen
(
S
)
)
;
cout
<<
S
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 32 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 51 min ago | 0.38 KB
fbdnytnym
PHP | 1 hour ago | 1.62 KB
Untitled
Pascal | 2 hours ago | 1.67 KB
Вывести числа в обратном порядке
C++ | 2 hours ago | 0.26 KB
Create admin and user1
T-SQL | 2 hours ago | 0.63 KB
Untitled
JSON | 2 hours ago | 5.62 KB
22 (короткий вариант)
Python | 2 hours ago | 0.29 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!