結果

問題 No.513 宝探し2
ユーザー snrnsidy
提出日時 2021-09-25 16:38:43
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 338 bytes
コンパイル時間 1,868 ms
コンパイル使用メモリ 191,544 KB
最終ジャッジ日時 2025-01-24 18:11:56
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 9
権限があれば一括ダウンロードができます

ソースコード

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