結果
問題 | No.256 桁の数字を入れ替え (2) |
ユーザー | ddsyg1 |
提出日時 | 2019-01-15 14:33:47 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 151 bytes |
コンパイル時間 | 1,363 ms |
コンパイル使用メモリ | 86,976 KB |
実行使用メモリ | 98,928 KB |
最終ジャッジ日時 | 2023-09-07 03:22:57 |
合計ジャッジ時間 | 3,485 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 101 ms
72,164 KB |
testcase_01 | AC | 102 ms
72,184 KB |
testcase_02 | RE | - |
testcase_03 | RE | - |
ソースコード
from functools import reduce l = [int(x) for x in list(input())] m = sorted(l, reverse=True) print(int(reduce(lambda x, y: x + y,[str(x) for x in m])))