結果
問題 |
No.289 数字を全て足そう
|
ユーザー |
|
提出日時 | 2015-10-17 02:26:16 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 28 ms / 1,000 ms |
コード長 | 196 bytes |
コンパイル時間 | 79 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 8,192 KB |
最終ジャッジ日時 | 2024-10-07 20:20:25 |
合計ジャッジ時間 | 1,464 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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