結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
23,460 KB
testcase_01 AC 23 ms
24,300 KB
testcase_02 AC 23 ms
23,472 KB
testcase_03 AC 24 ms
24,360 KB
testcase_04 AC 24 ms
23,580 KB
testcase_05 AC 24 ms
24,060 KB
testcase_06 AC 23 ms
23,700 KB
testcase_07 AC 22 ms
24,324 KB
testcase_08 AC 23 ms
24,288 KB
testcase_09 AC 23 ms
24,408 KB
testcase_10 AC 23 ms
23,568 KB
testcase_11 AC 24 ms
24,276 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(d << " " << 0);
	int a;
	cin >> a;
	print(d - a / 2 << " " << a / 2);
	cin >> d;
	if (d == 0)return 0;
	return 0;
}
0