結果

問題 No.2444 一次変換と体積
ユーザー MasKoaTSMasKoaTS
提出日時 2023-08-25 21:44:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 164 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 29,848 KB
最終ジャッジ日時 2023-08-25 21:44:18
合計ジャッジ時間 3,729 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
29,648 KB
testcase_01 AC 128 ms
29,724 KB
testcase_02 AC 129 ms
29,672 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 128 ms
29,728 KB
testcase_11 AC 127 ms
29,612 KB
testcase_12 WA -
testcase_13 AC 126 ms
29,648 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 129 ms
29,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

n, b = map(int, input().split())
a = np.array([[*map(int, input().split())] for _ in [0] * 3])
d = np.linalg.det(a)
ans = int(d) % b
print(ans)
0