結果

問題 No.514 宝探し3
ユーザー HAHAHAHAHAHA
提出日時 2017-08-23 05:25:14
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 1,574 ms
コンパイル使用メモリ 163,316 KB
実行使用メモリ 24,504 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-23 14:24:22
合計ジャッジ時間 2,555 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
24,036 KB
testcase_01 AC 21 ms
23,652 KB
testcase_02 AC 22 ms
24,048 KB
testcase_03 AC 23 ms
24,372 KB
testcase_04 AC 22 ms
24,288 KB
testcase_05 AC 22 ms
24,036 KB
testcase_06 AC 21 ms
24,048 KB
testcase_07 AC 22 ms
24,360 KB
testcase_08 AC 22 ms
23,376 KB
testcase_09 AC 22 ms
24,384 KB
testcase_10 AC 23 ms
24,504 KB
testcase_11 AC 22 ms
23,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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


int main(){
	int a=1000000000,x,y;
	cout << 0 << " " << 0 << endl;
	cin >> x;
	cout << 0 << " " << a << endl;
	cin >> y;
	cout << (x+y-a)/2 << " " << x-(x+y-a)/2 << endl;
	return 0;
}
0