結果

問題 No.656 ゴルフ
ユーザー otsuneko
提出日時 2021-05-06 13:10:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 346 ms
コンパイル使用メモリ 82,448 KB
実行使用メモリ 53,088 KB
最終ジャッジ日時 2024-09-14 05:19:38
合計ジャッジ時間 1,301 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(input())

ans = 0
for s in S:
    if s == "0":
        ans += 10
    else:
        ans += int(s)
print(ans)
0