結果
| 問題 |
No.289 数字を全て足そう
|
| コンテスト | |
| ユーザー |
hoghe
|
| 提出日時 | 2020-01-10 20:27:25 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 1,000 ms |
| コード長 | 77 bytes |
| コンパイル時間 | 313 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-11-23 22:16:24 |
| 合計ジャッジ時間 | 2,005 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
コンパイルメッセージ
Main.py:2: SyntaxWarning: invalid escape sequence '\d'
a = re.findall('\d', input())
ソースコード
import re
a = re.findall('\d', input())
b = [int(c) for c in a]
print(sum(b))
hoghe