結果
| 問題 |
No.256 桁の数字を入れ替え (2)
|
| コンテスト | |
| ユーザー |
Rittai_3D
|
| 提出日時 | 2016-09-17 22:38:43 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 8 ms / 2,000 ms |
| コード長 | 290 bytes |
| コンパイル時間 | 692 ms |
| コンパイル使用メモリ | 70,464 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-17 08:18:54 |
| 合計ジャッジ時間 | 1,062 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
string s {};
cin >> s;
sort(
begin( s ),
end( s ),
[]( auto x, auto y )
{
return x > y;
}
);
cout << s << endl;
}
Rittai_3D