結果

問題 No.289 数字を全て足そう
ユーザー ともき
提出日時 2015-10-16 23:19:07
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-07-21 20:34:48
合計ジャッジ時間 2,078 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import string

def solve(s):
    ret = 0
    for c in s:
        if c in string.digits:
            ret += int(c)

print(solve(input()))
0