結果
問題 |
No.289 数字を全て足そう
|
ユーザー |
![]() |
提出日時 | 2020-10-11 03:34:01 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 1,000 ms |
コード長 | 92 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 59,136 KB |
最終ジャッジ日時 | 2024-07-20 17:05:45 |
合計ジャッジ時間 | 2,140 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
s = str(input()) ans = 0 for c in s: if c.isdecimal(): ans += int(c) print(ans)