結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー kaktskakts
提出日時 2016-01-13 03:05:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 139 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 11,872 KB
実行使用メモリ 10,252 KB
最終ジャッジ日時 2023-10-19 22:57:02
合計ジャッジ時間 709 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,100 KB
testcase_01 AC 30 ms
10,100 KB
testcase_02 RE -
testcase_03 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

digits = [int(c) for c in str(int(input()))]

ans = 0
i = 0
for digit in sorted(digits):
	ans = ans + (digit * 10 ** i)
	i += 1

print(ans)
0