結果
| 問題 |
No.289 数字を全て足そう
|
| コンテスト | |
| ユーザー |
sekihankamibanz
|
| 提出日時 | 2018-10-25 21:40:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 127 bytes |
| コンパイル時間 | 350 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-19 05:54:00 |
| 合計ジャッジ時間 | 1,664 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 21 |
ソースコード
import re
n = input()
pattern = r'([0-9]*)'
lists = re.findall(pattern,n)
num = 0
for i in lists:
num += int(i)
print(num)
sekihankamibanz