結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー kyatatsu
提出日時 2025-01-25 18:59:22
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 24 ms / 2,000 ms
コード長 224 bytes
コンパイル時間 3,805 ms
コンパイル使用メモリ 272,292 KB
実行使用メモリ 25,856 KB
平均クエリ数 11.66
最終ジャッジ日時 2025-01-26 00:01:58
合計ジャッジ時間 6,098 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 44
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
    int now = 1<<29;
    while(true) {
        cout<<now<<endl;
        int r; cin>>r;
        if(r==1||r==-1) break;
        now/=2;
    }
}
0