結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー mkawa2mkawa2
提出日時 2019-12-27 08:18:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 561 ms / 2,000 ms
コード長 855 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 12,928 KB
実行使用メモリ 43,784 KB
最終ジャッジ日時 2024-04-16 08:06:05
合計ジャッジ時間 3,571 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 547 ms
43,776 KB
testcase_01 AC 543 ms
43,652 KB
testcase_02 AC 548 ms
43,784 KB
testcase_03 AC 561 ms
43,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import *
from bisect import *
from math import *
from collections import *
from heapq import *
from random import *
import numpy as np
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def MI1(): return map(int1, sys.stdin.readline().split())
def MF(): return map(float, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI1(): return list(map(int1, sys.stdin.readline().split()))
def LF(): return list(map(float, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
dij = [(1, 0), (0, 1), (-1, 0), (0, -1)]

def main():
    n=list(input())
    n.sort(reverse=True)
    print("".join(n))

main()
0