結果

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

ソースコード

diff #

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

using ll = long long;

int main(){
    int n=1e9;
    for(int i=0;i<30;i++){
        cout << n << endl;
        int x;
        cin >> x;
        if(x==1)return 0;
        n/=2;
    }
    return 0;
}
0