結果
| 問題 | 
                            No.289 数字を全て足そう
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2018-10-02 05:40:17 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 233 bytes | 
| コンパイル時間 | 88 ms | 
| コンパイル使用メモリ | 12,800 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-10-12 09:59:24 | 
| 合計ジャッジ時間 | 1,549 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | RE * 3 | 
| other | RE * 21 | 
ソースコード
from operator import add
from functools import reduce
def isNum(s):
    Num = [str(i) for i in range(10)]
    return True if s in Num else False
S = list(input())
S = filter(isNum, S)
S += '0'
print(reduce(add, list(map(int, S))))