結果

問題 No.513 宝探し2
ユーザー 🍮かんプリン🍮かんプリン
提出日時 2019-03-21 11:12:23
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 378 bytes
コンパイル時間 570 ms
コンパイル使用メモリ 61,380 KB
実行使用メモリ 24,492 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-23 16:49:19
合計ジャッジ時間 3,249 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#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