結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー ああいいああいい
提出日時 2021-12-04 20:32:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 128 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 8,456 KB
最終ジャッジ日時 2023-09-21 09:08:23
合計ジャッジ時間 685 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = input()
a = [0] * 10
for i in N:
    a[int(i)] += 1
S = ""
for i in reversed(range(10)):
    S += str(i)*a[i]
print(int(S))
0