結果

問題 No.656 ゴルフ
ユーザー pluto77
提出日時 2018-03-03 08:53:51
言語 Python2
(2.7.18)
結果
AC  
実行時間 10 ms / 2,000 ms
コード長 114 bytes
コンパイル時間 372 ms
コンパイル使用メモリ 7,072 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-23 16:44:59
合計ジャッジ時間 1,049 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki656

s=raw_input()
res=0
for i in xrange(len(s)):
 if s[i]=='0':
  res+=10
 else:
  res+=int(s[i])
print res
0