結果

問題 No.514 宝探し3
ユーザー teketeke5000teketeke5000
提出日時 2017-08-19 19:48:52
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 321 bytes
コンパイル時間 1,099 ms
コンパイル使用メモリ 143,248 KB
実行使用メモリ 24,384 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-23 14:24:09
合計ジャッジ時間 3,553 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
24,276 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 26 ms
23,304 KB
testcase_04 WA -
testcase_05 AC 25 ms
23,628 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 25 ms
23,412 KB
testcase_09 AC 25 ms
23,664 KB
testcase_10 WA -
testcase_11 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(void) {
    int d1, d2;
    cout << 0 << " " << 0 << endl;
    cin >> d1;
    cout << 0 << " " << 100000 << endl;
    cin >> d2;
    int AX = ( d1 + d2 - 100000 ) / 2;
    int AY = d1 - AX;
    cout << AX << " " << AY << endl;
    return 0;
}
0