結果
| 問題 | No.289 数字を全て足そう |
| コンテスト | |
| ユーザー |
muuyuum
|
| 提出日時 | 2016-07-10 15:23:40 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 1,000 ms |
| + 543µs | |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 69 ms |
| コンパイル使用メモリ | 81,152 KB |
| 実行使用メモリ | 82,688 KB |
| 最終ジャッジ日時 | 2026-07-18 06:51:32 |
| 合計ジャッジ時間 | 3,442 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
s = raw_input()
n_s = [str(i) for i in range(10)]
ans = []
for x in s:
if x in n_s:
ans.append(x)
sum = 0
for x in ans:
sum += int(x)
print sum
muuyuum