結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー mokraimokrai
提出日時 2017-11-15 10:57:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 9,912 KB
最終ジャッジ日時 2023-08-16 14:23:51
合計ジャッジ時間 878 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,780 KB
testcase_01 AC 14 ms
7,972 KB
testcase_02 AC 75 ms
9,912 KB
testcase_03 AC 72 ms
9,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = list(input())
    sorted_N = sorted(N, reverse=True)
    for d in sorted_N:
        print(d, end='')
    print()

if __name__ == '__main__':
    main()
0