結果

問題 No.2400 Product of Gaussian Integer
ユーザー kokomi_ckokomi_c
提出日時 2023-10-06 17:08:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 71,660 KB
最終ジャッジ日時 2023-10-06 17:09:02
合計ジャッジ時間 2,703 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,336 KB
testcase_01 AC 67 ms
71,492 KB
testcase_02 AC 71 ms
71,484 KB
testcase_03 AC 68 ms
71,200 KB
testcase_04 AC 67 ms
71,356 KB
testcase_05 AC 76 ms
71,172 KB
testcase_06 AC 67 ms
71,632 KB
testcase_07 AC 66 ms
71,488 KB
testcase_08 AC 66 ms
71,200 KB
testcase_09 AC 66 ms
71,660 KB
testcase_10 AC 68 ms
71,332 KB
testcase_11 AC 66 ms
71,620 KB
testcase_12 AC 67 ms
71,496 KB
testcase_13 AC 67 ms
71,612 KB
testcase_14 AC 67 ms
71,380 KB
testcase_15 AC 65 ms
71,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
C, D = map(int, input().split())

N = A * C - (B * D)
M = A * D + B * C
print(N, M)
0