結果

問題 No.2400 Product of Gaussian Integer
ユーザー mattu34mattu34
提出日時 2023-09-08 00:38:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 226 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 71,628 KB
最終ジャッジ日時 2023-09-08 00:38:12
合計ジャッジ時間 3,325 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
71,564 KB
testcase_01 AC 91 ms
71,488 KB
testcase_02 AC 90 ms
71,628 KB
testcase_03 AC 90 ms
71,436 KB
testcase_04 AC 92 ms
71,204 KB
testcase_05 AC 90 ms
71,496 KB
testcase_06 AC 89 ms
71,572 KB
testcase_07 AC 90 ms
71,484 KB
testcase_08 AC 90 ms
71,492 KB
testcase_09 AC 90 ms
71,436 KB
testcase_10 AC 91 ms
71,440 KB
testcase_11 AC 90 ms
71,388 KB
testcase_12 AC 90 ms
71,572 KB
testcase_13 AC 90 ms
71,440 KB
testcase_14 AC 90 ms
71,484 KB
testcase_15 AC 95 ms
71,588 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
import heapq
import bisect
import itertools


INF = float("inf")
MOD = 998244353
mod = 998244353

a, b = map(int, input().split())
c, d = map(int, input().split())
print(a * c - b * d, a * d + b * c)
0