結果
問題 | No.656 ゴルフ |
ユーザー |
![]() |
提出日時 | 2025-03-20 20:36:40 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 34 ms / 2,000 ms |
コード長 | 94 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 82,604 KB |
実行使用メモリ | 52,920 KB |
最終ジャッジ日時 | 2025-03-20 20:37:40 |
合計ジャッジ時間 | 1,012 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 |
ソースコード
s = input().strip() total = 0 for c in s: total += 10 if c == '0' else int(c) print(total)