結果

問題 No.289 数字を全て足そう
ユーザー brthyyjpbrthyyjp
提出日時 2020-10-11 03:34:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 1,000 ms
コード長 92 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 87,252 KB
実行使用メモリ 76,396 KB
最終ジャッジ日時 2023-09-27 22:46:08
合計ジャッジ時間 3,058 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,108 KB
testcase_01 AC 61 ms
71,384 KB
testcase_02 AC 63 ms
71,348 KB
testcase_03 AC 64 ms
71,576 KB
testcase_04 AC 66 ms
71,452 KB
testcase_05 AC 66 ms
75,636 KB
testcase_06 AC 66 ms
75,840 KB
testcase_07 AC 68 ms
75,960 KB
testcase_08 AC 69 ms
75,864 KB
testcase_09 AC 69 ms
75,664 KB
testcase_10 AC 67 ms
76,076 KB
testcase_11 AC 68 ms
76,188 KB
testcase_12 AC 67 ms
76,268 KB
testcase_13 AC 67 ms
75,932 KB
testcase_14 AC 67 ms
76,396 KB
testcase_15 AC 68 ms
76,172 KB
testcase_16 AC 67 ms
76,124 KB
testcase_17 AC 67 ms
76,168 KB
testcase_18 AC 66 ms
76,156 KB
testcase_19 AC 68 ms
76,392 KB
testcase_20 AC 65 ms
76,040 KB
testcase_21 AC 61 ms
71,112 KB
testcase_22 AC 68 ms
76,136 KB
testcase_23 AC 67 ms
75,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = str(input())
ans = 0
for c in s:
    if c.isdecimal():
        ans += int(c)
print(ans)
0