結果
| 問題 | No.289 数字を全て足そう |
| コンテスト | |
| ユーザー |
hoghe
|
| 提出日時 | 2020-01-10 20:27:25 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 1,000 ms |
| + 507µs | |
| コード長 | 77 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,264 KB |
| 最終ジャッジ日時 | 2026-09-28 20:32:58 |
| 合計ジャッジ時間 | 2,355 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