結果
| 問題 | No.656 ゴルフ |
| コンテスト | |
| ユーザー |
Naoyk1212
|
| 提出日時 | 2018-03-06 10:38:55 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 2,000 ms |
| コード長 | 115 bytes |
| 記録 | |
| コンパイル時間 | 513 ms |
| コンパイル使用メモリ | 20,568 KB |
| 実行使用メモリ | 15,232 KB |
| 最終ジャッジ日時 | 2026-04-04 19:35:08 |
| 合計ジャッジ時間 | 2,001 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 6 |
ソースコード
str = input()
cnt = 0
for s in str:
if s == '0':
cnt += 10
else:
cnt += int(s)
print(cnt)
Naoyk1212