結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
|
提出日時 | 2024-12-23 08:31:24 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 350 ms / 2,000 ms |
コード長 | 127 bytes |
コンパイル時間 | 244 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 145,128 KB |
最終ジャッジ日時 | 2024-12-23 08:31:30 |
合計ジャッジ時間 | 4,382 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 15 |
ソースコード
import re first = int(input()) second = input() list = re.findall(r'\d+', second) list_int = map(int,list) print(sum(list_int))