結果
| 問題 |
No.2765 Cross Product
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-31 21:28:00 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 415 bytes |
| コンパイル時間 | 2,940 ms |
| コンパイル使用メモリ | 243,312 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-20 22:25:07 |
| 合計ジャッジ時間 | 3,869 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
#include<bits/stdc++.h>
//#include<atcoder/modint>
using namespace std;
typedef long long ll;
const int INF = 1<<30;
//const long long INFLL = 1LL<<60;
const int MOD = 998244353;
int a[3], b[3];
int main(){
cin >> a[0] >> a[1] >> a[2];
cin >> b[0] >> b[1] >> b[2];
cout << a[1] * b[2] - a[2] * b[1] << " ";
cout << a[2]* b[0] - a[0] * b[2] << " ";
cout << a[0]* b[1] - a[1] * b[0] << endl;
}