結果
問題 | No.2400 Product of Gaussian Integer |
ユーザー |
![]() |
提出日時 | 2023-09-08 00:38:07 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 47 ms / 2,000 ms |
コード長 | 226 bytes |
コンパイル時間 | 325 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 54,528 KB |
最終ジャッジ日時 | 2024-06-25 17:47:56 |
合計ジャッジ時間 | 1,923 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
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)