結果

問題 No.514 宝探し3
ユーザー TwizzTwizz
提出日時 2017-05-20 12:12:48
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 410 bytes
コンパイル時間 1,072 ms
コンパイル使用メモリ 143,612 KB
実行使用メモリ 24,444 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-23 14:07:20
合計ジャッジ時間 3,444 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include"bits/stdc++.h"

//#include<bits/stdc++.h>
using namespace std;
#define print(x) cout<<x<<endl;
#define rep(i,a,b) for(int i=a;i<b;i++)
#define REP(i,a) for(int i=0;i<a;i++)
typedef long long ll;
const ll mod = 10000000000;

int main() {
	int d;
	print(0 << " " << 0);
	cin >> d;
	print(0 << " " << d);
	int a;
	cin >> a;
	print(d - a / 2 << " " << a / 2);
	cin >> d;
	if (d == 0)return 0;
	return 0;
}
0