結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー hiro_metal_corehiro_metal_core
提出日時 2018-01-10 00:22:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 97 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 16,024 KB
最終ジャッジ日時 2023-08-25 02:29:12
合計ジャッジ時間 740 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,808 KB
testcase_01 AC 17 ms
7,760 KB
testcase_02 RE -
testcase_03 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = list(map(int, input()))

N.sort()
N.reverse()

N = list(map(str, N))

print(int(''.join(N)))
0