結果

問題 No.2444 一次変換と体積
ユーザー titiatitia
提出日時 2023-08-29 00:15:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 206 ms
コンパイル使用メモリ 10,600 KB
実行使用メモリ 29,756 KB
最終ジャッジ日時 2023-08-29 00:15:20
合計ジャッジ時間 6,395 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
29,584 KB
testcase_01 AC 122 ms
29,592 KB
testcase_02 AC 122 ms
29,680 KB
testcase_03 AC 122 ms
29,576 KB
testcase_04 AC 139 ms
29,732 KB
testcase_05 AC 122 ms
29,672 KB
testcase_06 AC 129 ms
29,736 KB
testcase_07 AC 121 ms
29,624 KB
testcase_08 AC 122 ms
29,636 KB
testcase_09 AC 121 ms
29,596 KB
testcase_10 AC 121 ms
29,556 KB
testcase_11 AC 121 ms
29,560 KB
testcase_12 AC 123 ms
29,592 KB
testcase_13 AC 123 ms
29,616 KB
testcase_14 AC 142 ms
29,644 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 129 ms
29,512 KB
testcase_19 AC 129 ms
29,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

N,B=map(int,input().split())
A=[list(map(int,input().split())) for i in range(3)]

A=np.matrix(A)
D=np.linalg.det(A)

print(pow(abs(round(D)),N,B))
0