結果

問題 No.289 数字を全て足そう
ユーザー かいかい
提出日時 2023-07-05 14:11:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 80 ms / 1,000 ms
コード長 92 bytes
コンパイル時間 339 ms
コンパイル使用メモリ 86,912 KB
実行使用メモリ 76,420 KB
最終ジャッジ日時 2023-09-26 14:03:25
合計ジャッジ時間 3,430 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,532 KB
testcase_01 AC 73 ms
71,204 KB
testcase_02 AC 77 ms
71,392 KB
testcase_03 AC 76 ms
71,272 KB
testcase_04 AC 74 ms
71,324 KB
testcase_05 AC 79 ms
75,540 KB
testcase_06 AC 79 ms
76,148 KB
testcase_07 AC 77 ms
76,092 KB
testcase_08 AC 76 ms
75,852 KB
testcase_09 AC 76 ms
75,576 KB
testcase_10 AC 78 ms
75,832 KB
testcase_11 AC 79 ms
76,420 KB
testcase_12 AC 79 ms
76,340 KB
testcase_13 AC 80 ms
76,052 KB
testcase_14 AC 80 ms
76,196 KB
testcase_15 AC 78 ms
76,064 KB
testcase_16 AC 77 ms
76,048 KB
testcase_17 AC 76 ms
76,028 KB
testcase_18 AC 79 ms
76,048 KB
testcase_19 AC 80 ms
75,976 KB
testcase_20 AC 78 ms
75,724 KB
testcase_21 AC 74 ms
71,272 KB
testcase_22 AC 77 ms
76,048 KB
testcase_23 AC 76 ms
75,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
ans = 0

for i in S:
    if i.isdecimal():
        ans += int(i)
    
print(ans)
0