結果
| 問題 | No.289 数字を全て足そう |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-24 00:24:38 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 1,000 ms |
| + 753µs | |
| コード長 | 115 bytes |
| 記録 | |
| コンパイル時間 | 304 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 15,864 KB |
| 最終ジャッジ日時 | 2026-08-24 05:59:14 |
| 合計ジャッジ時間 | 4,452 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
str = input()
n = 0
for c in str:
if c.isdecimal(): n += int(c)
# print(c, c.isdecimal(), n)
print(n)