結果

問題 No.2825 Sum of Scores of Sets of Specified Sections
ユーザー みどりむし🦠
提出日時 2024-01-22 16:05:11
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 245 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 50,844 KB
最終ジャッジ日時 2024-07-26 20:00:20
合計ジャッジ時間 21,671 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 1
other WA * 4 RE * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
import itertools

n, m = map(int, input().split())

A = np.matrix([[*map(int, input().split())] for _ in range(n)])
B = np.matrix([[*map(int, input().split())] for _ in range(m)])

print(np.linalg.det(np.identity(n) + A * B))
0