結果
| 問題 | No.289 数字を全て足そう |
| コンテスト | |
| ユーザー |
hoghe
|
| 提出日時 | 2020-01-10 20:27:25 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 113 ms / 1,000 ms |
| コード長 | 77 bytes |
| 記録 | |
| コンパイル時間 | 737 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-05-17 16:00:22 |
| 合計ジャッジ時間 | 4,723 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
コンパイルメッセージ
Main.py:2: SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\d"? A raw string is also an option.
a = re.findall('\d', input())
ソースコード
import re
a = re.findall('\d', input())
b = [int(c) for c in a]
print(sum(b))
hoghe