結果

問題 No.3224 2×2行列入門
コンテスト
ユーザー hittie
提出日時 2025-08-09 10:54:54
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
RE  
実行時間 -
コード長 286 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 235 ms
コンパイル使用メモリ 96,104 KB
実行使用メモリ 91,264 KB
最終ジャッジ日時 2026-07-13 22:19:37
合計ジャッジ時間 6,184 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 23
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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])
0