結果
問題 |
No.3224 2×2行列入門
|
ユーザー |
|
提出日時 | 2025-08-09 10:54:54 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 286 bytes |
コンパイル時間 | 349 ms |
コンパイル使用メモリ | 81,788 KB |
実行使用メモリ | 67,152 KB |
最終ジャッジ日時 | 2025-08-09 10:54:58 |
合計ジャッジ時間 | 3,192 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 23 |
ソースコード
import numpy as np A0 = list(map(int, input().split())) A1 = list(map(int, input().split())) B0 = list(map(int, input().split())) B1 = list(map(int, input().split())) a = [A0, A1] b = [B0, B1] c = np.array(a) @ np.array(b) c = c @ c print(c[0][0], c[0][1]) print(c[1][0], c[1][1])