結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー brthyyjpbrthyyjp
提出日時 2020-12-01 15:39:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 385 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 78,424 KB
最終ジャッジ日時 2023-10-11 03:36:48
合計ジャッジ時間 1,407 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,504 KB
testcase_01 AC 76 ms
71,316 KB
testcase_02 AC 99 ms
78,424 KB
testcase_03 AC 93 ms
78,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = str(input())
s = [int(i) for i in n]
s.sort(reverse=True)
s = [str(i) for i in s]
print(''.join(s))
0