結果

問題 No.289 数字を全て足そう
ユーザー NecofuryaiNecofuryai
提出日時 2021-04-23 15:23:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 112 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 87,176 KB
実行使用メモリ 76,680 KB
最終ジャッジ日時 2023-09-17 11:04:51
合計ジャッジ時間 3,149 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,304 KB
testcase_01 AC 71 ms
71,080 KB
testcase_02 AC 70 ms
71,220 KB
testcase_03 AC 71 ms
71,344 KB
testcase_04 AC 76 ms
71,300 KB
testcase_05 AC 77 ms
76,116 KB
testcase_06 AC 78 ms
76,352 KB
testcase_07 AC 79 ms
76,372 KB
testcase_08 AC 77 ms
76,220 KB
testcase_09 AC 76 ms
76,280 KB
testcase_10 AC 78 ms
76,412 KB
testcase_11 AC 77 ms
76,340 KB
testcase_12 AC 75 ms
76,612 KB
testcase_13 AC 76 ms
76,300 KB
testcase_14 AC 76 ms
76,520 KB
testcase_15 AC 76 ms
76,300 KB
testcase_16 AC 75 ms
76,408 KB
testcase_17 AC 75 ms
76,432 KB
testcase_18 AC 76 ms
76,668 KB
testcase_19 AC 77 ms
76,680 KB
testcase_20 AC 75 ms
76,596 KB
testcase_21 AC 70 ms
71,376 KB
testcase_22 AC 76 ms
76,676 KB
testcase_23 AC 75 ms
76,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

words = list(map(str, input()))
s = 0
for w in words:
    if w.isdecimal() == True:
        s += int(w)
print(s)
0