結果

問題 No.2825 Sum of Scores of Sets of Specified Sections
ユーザー みどりむし🦠
提出日時 2024-01-22 16:04:50
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 245 bytes
コンパイル時間 2,069 ms
コンパイル使用メモリ 81,812 KB
実行使用メモリ 66,628 KB
最終ジャッジ日時 2024-07-26 19:59:58
合計ジャッジ時間 3,826 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 1
other RE * 32
権限があれば一括ダウンロードができます

ソースコード

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