結果

問題 No.513 宝探し2
ユーザー snrnsidysnrnsidy
提出日時 2021-09-25 16:38:43
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 338 bytes
コンパイル時間 1,966 ms
コンパイル使用メモリ 197,728 KB
実行使用メモリ 24,408 KB
平均クエリ数 2.67
最終ジャッジ日時 2023-09-18 23:05:14
合計ジャッジ時間 4,581 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(void)
{
	cin.tie(0);
	ios::sync_with_stdio(false);

	int a,b;
	
	cout << 0 << " " << 0 << endl;
	cin >> a;
	if(a==0) return 0;
	cout << a << " " << 0 << endl;
	cin >> b;
	if(b==0) return 0;
	cout << (a-b)/2 << " " << b/2 << endl;
	int c;
	cin >> c;
	if(c==0) return 0;
	return 0;
}
0