結果

問題 No.289 数字を全て足そう
ユーザー 👑 colognecologne
提出日時 2023-06-14 14:03:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 80 ms / 1,000 ms
コード長 69 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 87,244 KB
実行使用メモリ 76,228 KB
最終ジャッジ日時 2023-09-05 02:27:40
合計ジャッジ時間 3,707 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,304 KB
testcase_01 AC 71 ms
71,188 KB
testcase_02 AC 70 ms
71,384 KB
testcase_03 AC 71 ms
71,116 KB
testcase_04 AC 71 ms
71,308 KB
testcase_05 AC 72 ms
75,556 KB
testcase_06 AC 74 ms
76,048 KB
testcase_07 AC 75 ms
76,072 KB
testcase_08 AC 76 ms
75,980 KB
testcase_09 AC 75 ms
75,560 KB
testcase_10 AC 77 ms
75,924 KB
testcase_11 AC 80 ms
75,860 KB
testcase_12 AC 79 ms
76,204 KB
testcase_13 AC 77 ms
76,040 KB
testcase_14 AC 79 ms
76,228 KB
testcase_15 AC 76 ms
76,064 KB
testcase_16 AC 78 ms
75,844 KB
testcase_17 AC 79 ms
75,976 KB
testcase_18 AC 78 ms
76,036 KB
testcase_19 AC 74 ms
75,868 KB
testcase_20 AC 74 ms
75,912 KB
testcase_21 AC 71 ms
71,272 KB
testcase_22 AC 75 ms
75,980 KB
testcase_23 AC 72 ms
75,852 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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