結果

問題 No.289 数字を全て足そう
ユーザー hirayuu_ychirayuu_yc
提出日時 2023-08-22 15:38:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 1,000 ms
コード長 75 bytes
コンパイル時間 447 ms
コンパイル使用メモリ 87,180 KB
実行使用メモリ 76,448 KB
最終ジャッジ日時 2023-08-22 15:38:41
合計ジャッジ時間 3,537 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,328 KB
testcase_01 AC 73 ms
71,244 KB
testcase_02 AC 77 ms
71,400 KB
testcase_03 AC 73 ms
71,408 KB
testcase_04 AC 75 ms
71,384 KB
testcase_05 AC 77 ms
75,748 KB
testcase_06 AC 78 ms
76,052 KB
testcase_07 AC 80 ms
76,220 KB
testcase_08 AC 77 ms
76,120 KB
testcase_09 AC 76 ms
75,512 KB
testcase_10 AC 75 ms
76,236 KB
testcase_11 AC 77 ms
76,352 KB
testcase_12 AC 79 ms
76,448 KB
testcase_13 AC 77 ms
75,812 KB
testcase_14 AC 79 ms
76,360 KB
testcase_15 AC 77 ms
76,116 KB
testcase_16 AC 81 ms
76,176 KB
testcase_17 AC 76 ms
76,076 KB
testcase_18 AC 76 ms
76,100 KB
testcase_19 AC 77 ms
76,400 KB
testcase_20 AC 77 ms
76,140 KB
testcase_21 AC 71 ms
71,128 KB
testcase_22 AC 78 ms
76,124 KB
testcase_23 AC 76 ms
76,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()
ans=0
for i in S:
	if i in "1234567890":
		ans+=int(i)
print(ans)
0