結果

問題 No.289 数字を全て足そう
ユーザー otsunekootsuneko
提出日時 2021-05-07 11:42:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 85 ms / 1,000 ms
コード長 89 bytes
コンパイル時間 905 ms
コンパイル使用メモリ 86,972 KB
実行使用メモリ 76,104 KB
最終ジャッジ日時 2023-10-13 02:38:11
合計ジャッジ時間 3,955 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,156 KB
testcase_01 AC 73 ms
71,368 KB
testcase_02 AC 74 ms
70,920 KB
testcase_03 AC 75 ms
71,164 KB
testcase_04 AC 74 ms
71,212 KB
testcase_05 AC 85 ms
75,532 KB
testcase_06 AC 79 ms
75,748 KB
testcase_07 AC 78 ms
75,868 KB
testcase_08 AC 78 ms
75,580 KB
testcase_09 AC 78 ms
75,480 KB
testcase_10 AC 78 ms
75,772 KB
testcase_11 AC 78 ms
76,000 KB
testcase_12 AC 78 ms
76,104 KB
testcase_13 AC 79 ms
75,772 KB
testcase_14 AC 80 ms
75,780 KB
testcase_15 AC 78 ms
75,700 KB
testcase_16 AC 77 ms
75,664 KB
testcase_17 AC 77 ms
75,940 KB
testcase_18 AC 78 ms
75,788 KB
testcase_19 AC 79 ms
75,880 KB
testcase_20 AC 78 ms
75,648 KB
testcase_21 AC 71 ms
71,012 KB
testcase_22 AC 77 ms
75,812 KB
testcase_23 AC 78 ms
75,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
ans = 0
for s in S:
    if s.isdigit():
        ans += int(s)
print(ans)
0