結果
| 問題 |
No.256 桁の数字を入れ替え (2)
|
| コンテスト | |
| ユーザー |
suibaka_ku
|
| 提出日時 | 2017-03-04 10:30:06 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 7 ms / 2,000 ms |
| コード長 | 201 bytes |
| コンパイル時間 | 782 ms |
| コンパイル使用メモリ | 72,180 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-23 00:19:06 |
| 合計ジャッジ時間 | 1,148 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
using ll = long long;
int main() {
string N;
cin >> N;
sort(N.rbegin(), N.rend());
cout << N << endl;
}
suibaka_ku