結果

問題 No.2441 行列累乗
ユーザー だれだれ
提出日時 2023-08-25 21:22:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 29,712 KB
最終ジャッジ日時 2023-08-25 21:22:17
合計ジャッジ時間 5,973 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

from numpy import array
a, b = map(int, input().split())
c, d = map(int, input().split())
ar = array([[a, b], [c, d]])
ar **= 3
for a, b in ar:
    print(a, b)
0