結果

問題 No.289 数字を全て足そう
ユーザー w0mbatw0mbat
提出日時 2020-03-15 16:39:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 78 bytes
コンパイル時間 563 ms
コンパイル使用メモリ 87,212 KB
実行使用メモリ 76,340 KB
最終ジャッジ日時 2023-08-16 14:37:04
合計ジャッジ時間 3,766 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,436 KB
testcase_01 AC 71 ms
71,100 KB
testcase_02 AC 72 ms
71,500 KB
testcase_03 AC 72 ms
71,292 KB
testcase_04 AC 71 ms
71,452 KB
testcase_05 AC 74 ms
75,792 KB
testcase_06 AC 75 ms
75,988 KB
testcase_07 AC 74 ms
76,044 KB
testcase_08 AC 74 ms
75,936 KB
testcase_09 AC 73 ms
75,716 KB
testcase_10 AC 74 ms
76,120 KB
testcase_11 AC 74 ms
76,196 KB
testcase_12 AC 76 ms
76,140 KB
testcase_13 AC 75 ms
76,160 KB
testcase_14 AC 76 ms
76,308 KB
testcase_15 AC 79 ms
76,040 KB
testcase_16 AC 78 ms
75,984 KB
testcase_17 AC 76 ms
76,116 KB
testcase_18 AC 76 ms
76,052 KB
testcase_19 AC 76 ms
76,128 KB
testcase_20 AC 75 ms
76,340 KB
testcase_21 AC 71 ms
71,544 KB
testcase_22 AC 76 ms
76,072 KB
testcase_23 AC 75 ms
75,828 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
ans = 0
for c in S:
    if c.isnumeric(): ans += int(c)
print(ans)
0