結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー soupesuteakasoupesuteaka
提出日時 2016-03-02 18:10:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 246 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 11,736 KB
実行使用メモリ 11,504 KB
最終ジャッジ日時 2023-10-24 19:32:52
合計ジャッジ時間 983 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,948 KB
testcase_01 AC 28 ms
9,948 KB
testcase_02 AC 132 ms
11,504 KB
testcase_03 AC 131 ms
11,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: UTF-8

import sys
import re
import itertools
from collections import deque

### defs ###


### main ###
S = sys.stdin.readline().strip('\n')
N = []
for s in S:
	N.append(int(s))
N.sort()
N.reverse()
for n in N:
	print(n,end='')
print('')
0