結果

問題 No.656 ゴルフ
ユーザー vwxyzvwxyz
提出日時 2022-08-05 22:25:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 8,648 KB
最終ジャッジ日時 2023-10-13 23:41:17
合計ジャッジ時間 945 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,508 KB
testcase_01 AC 18 ms
8,612 KB
testcase_02 AC 19 ms
8,448 KB
testcase_03 AC 19 ms
8,548 KB
testcase_04 AC 18 ms
8,508 KB
testcase_05 AC 18 ms
8,428 KB
testcase_06 AC 17 ms
8,564 KB
testcase_07 AC 17 ms
8,604 KB
testcase_08 AC 18 ms
8,616 KB
testcase_09 AC 17 ms
8,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
readline=sys.stdin.readline
from collections import Counter

S=list(map(int,list(readline().rstrip())))
ans=sum(S)+S.count(0)*10
print(ans)
0