結果
| 問題 |
No.2400 Product of Gaussian Integer
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-04 22:24:11 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 18 ms / 2,000 ms |
| コード長 | 204 bytes |
| コンパイル時間 | 494 ms |
| コンパイル使用メモリ | 65,956 KB |
| 最終ジャッジ日時 | 2025-02-15 22:57:52 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
#include <iostream>
#include <string>
int main()
{
long long a, b, c, d;
std::cin >> a >> b >> c >> d;
std::cout << (a * c) - (b * d) << " " << (b * c) + (a * d) << std::endl;
return 0;
}