結果

問題 No.656 ゴルフ
ユーザー c7t1012
提出日時 2018-04-07 00:31:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 150 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-26 10:52:22
合計ジャッジ時間 1,024 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 3 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

ipt = int(input())
S = []
while ipt > 0:
    if ipt % 10 == 0:
        S.append(10)
    else:
        S.append(ipt % 10)
    ipt //= 10
print(sum(S))
0