結果
| 問題 |
No.289 数字を全て足そう
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-07 11:42:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 44 ms / 1,000 ms |
| コード長 | 89 bytes |
| コンパイル時間 | 273 ms |
| コンパイル使用メモリ | 82,452 KB |
| 実行使用メモリ | 59,136 KB |
| 最終ジャッジ日時 | 2024-09-15 00:21:08 |
| 合計ジャッジ時間 | 2,146 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
S = input()
ans = 0
for s in S:
if s.isdigit():
ans += int(s)
print(ans)