結果
| 問題 |
No.256 桁の数字を入れ替え (2)
|
| コンテスト | |
| ユーザー |
chiyoda
|
| 提出日時 | 2016-06-25 20:03:13 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 214 bytes |
| コンパイル時間 | 775 ms |
| コンパイル使用メモリ | 59,480 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-11 22:15:35 |
| 合計ジャッジ時間 | 1,222 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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