結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー karinohito
提出日時 2025-03-31 21:20:13
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 287 bytes
コンパイル時間 3,549 ms
コンパイル使用メモリ 272,736 KB
実行使用メモリ 41,600 KB
最終ジャッジ日時 2025-03-31 21:20:23
合計ジャッジ時間 10,442 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other TLE * 1 -- * 43
権限があれば一括ダウンロードができます

ソースコード

diff #

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

void solve(){
	ll an=(1ll<<30);
	while(1){
		cout<<an<<endl;
		ll d;
		cin>>d;
		if(d==1)return;
		an/=2;
	}

}

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

	int T=1;
	// cin>>T;
	while(T--)solve();
}
0