結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー forest3
提出日時 2025-02-04 17:06:52
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 2,019 ms
コンパイル使用メモリ 160,920 KB
実行使用メモリ 26,368 KB
平均クエリ数 12.45
最終ジャッジ日時 2025-02-04 17:07:01
合計ジャッジ時間 6,546 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 44
権限があれば一括ダウンロードができます

ソースコード

diff #

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

#define rep(i, n) for( int i = 0; i < n; i++ )
using ll = long long;

int main() {
	int x = 1e9;
	rep(i, 30) {
		cout << x << endl;
		int r;
		cin >> r;
		if(r) return 0;
		x /= 2;
	}
}
0