結果

問題 No.2765 Cross Product
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2024-06-01 20:51:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 276 bytes
コンパイル時間 3,960 ms
コンパイル使用メモリ 82,160 KB
実行使用メモリ 56,996 KB
最終ジャッジ日時 2024-06-01 20:51:51
合計ジャッジ時間 3,926 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
55,740 KB
testcase_01 AC 40 ms
55,848 KB
testcase_02 AC 40 ms
56,996 KB
testcase_03 AC 48 ms
56,600 KB
testcase_04 AC 38 ms
55,104 KB
testcase_05 AC 39 ms
56,044 KB
testcase_06 AC 41 ms
55,300 KB
testcase_07 AC 40 ms
55,868 KB
testcase_08 AC 42 ms
56,236 KB
testcase_09 AC 40 ms
56,676 KB
testcase_10 AC 39 ms
56,164 KB
testcase_11 AC 38 ms
55,920 KB
testcase_12 AC 40 ms
56,800 KB
testcase_13 AC 49 ms
56,560 KB
testcase_14 AC 39 ms
55,424 KB
testcase_15 AC 39 ms
55,624 KB
testcase_16 AC 39 ms
56,288 KB
testcase_17 AC 41 ms
56,536 KB
testcase_18 AC 37 ms
55,760 KB
testcase_19 AC 38 ms
55,368 KB
testcase_20 AC 38 ms
56,316 KB
testcase_21 AC 39 ms
56,556 KB
testcase_22 AC 39 ms
55,800 KB
testcase_23 AC 41 ms
55,552 KB
testcase_24 AC 40 ms
55,944 KB
testcase_25 AC 41 ms
56,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline

ax,ay,az = map(int,input().split())
bx,by,bz = map(int,input().split())
cx = ay*bz-az*by
cy = az*bx-ax*bz
cz = ax*by-ay*bx
print(cx,cy,cz)
0