結果
| 問題 | No.289 数字を全て足そう | 
| コンテスト | |
| ユーザー |  Neochi | 
| 提出日時 | 2017-07-03 20:54:41 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 33 ms / 1,000 ms | 
| コード長 | 174 bytes | 
| コンパイル時間 | 137 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-10-05 12:36:21 | 
| 合計ジャッジ時間 | 1,822 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
N = input()
line = list(N)
length = len(line)
count = 0
for i in range(int(length)):
    word = line[i]
    if word.isdigit() == True:
        count += int(word)
print(count)
            
            
            
        