結果

問題 No.513 宝探し2
コンテスト
ユーザー 🍮かんプリン
提出日時 2019-03-21 11:12:23
言語 C++11
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 378 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 412 ms
コンパイル使用メモリ 81,764 KB
実行使用メモリ 28,976 KB
平均クエリ数 3.00
最終ジャッジ日時 2026-03-31 06:14:54
合計ジャッジ時間 2,686 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <vector>
#include <utility>
#include <algorithm>
#include <string>
#include <stack>
using ll = long long;
#define MOD 1000000007
using namespace std;

int main(){
    int x,y,d1,d2;
    cout << "0 0" << endl;
    cin >> d1;
    cout << "100000 0" << endl;
    cin >> d2;
    x = d1 - d2 + 100000;
    y = d1 - x;
    cout << x << " " << y << endl;
}
0