結果

問題 No.2400 Product of Gaussian Integer
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2023-08-05 17:09:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 47 ms / 2,000 ms
コード長 288 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 82,292 KB
実行使用メモリ 55,680 KB
最終ジャッジ日時 2024-04-23 14:06:31
合計ジャッジ時間 1,536 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
55,424 KB
testcase_01 AC 45 ms
55,424 KB
testcase_02 AC 47 ms
55,424 KB
testcase_03 AC 44 ms
55,680 KB
testcase_04 AC 45 ms
55,040 KB
testcase_05 AC 46 ms
55,552 KB
testcase_06 AC 44 ms
55,296 KB
testcase_07 AC 45 ms
55,168 KB
testcase_08 AC 46 ms
55,376 KB
testcase_09 AC 44 ms
55,552 KB
testcase_10 AC 45 ms
55,680 KB
testcase_11 AC 46 ms
55,424 KB
testcase_12 AC 46 ms
55,424 KB
testcase_13 AC 43 ms
55,552 KB
testcase_14 AC 47 ms
55,552 KB
testcase_15 AC 47 ms
55,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import pypyjit
# pypyjit.set_param('max_unroll_recursion=-1')
from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
# input = sys.stdin.readline

A,B = map(int,input().split())
C,D = map(int,input().split())
print(A*C-B*D,A*D+B*C)
0