結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー fmhrfmhr
提出日時 2015-07-31 22:32:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 109 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 86,964 KB
実行使用メモリ 84,176 KB
最終ジャッジ日時 2023-09-24 22:52:12
合計ジャッジ時間 1,405 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,276 KB
testcase_01 AC 76 ms
71,540 KB
testcase_02 AC 109 ms
84,176 KB
testcase_03 AC 99 ms
83,832 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding:utf-8

n = map(int, input())
m = []
for i in n:
    m.append(i)
m = reversed(sorted(m))
print("".join(str(i) for i in m))
0