結果
| 問題 |
No.256 桁の数字を入れ替え (2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-15 14:33:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 151 bytes |
| コンパイル時間 | 212 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 96,200 KB |
| 最終ジャッジ日時 | 2024-06-24 22:01:53 |
| 合計ジャッジ時間 | 2,098 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 RE * 2 |
ソースコード
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])))