結果
| 問題 | No.289 数字を全て足そう |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-10-17 02:26:16 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 120 ms / 1,000 ms |
| + 666µs | |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 70 ms |
| コンパイル使用メモリ | 80,896 KB |
| 実行使用メモリ | 96,000 KB |
| 最終ジャッジ日時 | 2026-07-17 23:00:17 |
| 合計ジャッジ時間 | 5,066 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
# -*- coding: utf-8 -*-
import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll
S = raw_input()
ans = 0
for s in S:
if s.isdigit():
ans += int(s)
print ans