結果
| 問題 |
No.513 宝探し2
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-02 06:29:18 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 324 bytes |
| コンパイル時間 | 1,680 ms |
| コンパイル使用メモリ | 165,256 KB |
| 実行使用メモリ | 25,484 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2024-06-11 09:19:02 |
| 合計ジャッジ時間 | 3,627 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 8 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int d1, d2;
const int lim = 100000;
cout << 0 << ' ' << 0 << endl;
cin >> d1;
cout << 0 << ' ' << lim << endl;
cin >> d2;
int x = (d1 - d2 + lim) / 2;
int y = (d1 + d2 - lim) / 2;
cout << x << ' ' << y << endl;
return 0;
}