結果
| 問題 | No.256 桁の数字を入れ替え (2) |
| コンテスト | |
| ユーザー |
chiyoda
|
| 提出日時 | 2016-06-25 20:03:13 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 439 ms |
| コンパイル使用メモリ | 76,472 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-28 07:53:44 |
| 合計ジャッジ時間 | 1,342 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 4 |
ソースコード
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
char n[500001];
while(cin >> n) ;
sort(n, n+500000);
for(int i = 499999; i >= 0; --i) cout << n[i];
cout << endl;
return 0;
}
chiyoda