結果
| 問題 | No.3011 あ、俺こいつの役やりたい! | 
| コンテスト | |
| ユーザー |  ripity | 
| 提出日時 | 2025-02-03 19:35:35 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 40 ms / 2,000 ms | 
| コード長 | 208 bytes | 
| コンパイル時間 | 2,637 ms | 
| コンパイル使用メモリ | 191,148 KB | 
| 実行使用メモリ | 25,984 KB | 
| 平均クエリ数 | 12.50 | 
| 最終ジャッジ日時 | 2025-02-03 19:35:43 | 
| 合計ジャッジ時間 | 6,280 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 44 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
  int p = 1 << 30;
  while(true) {
    cout << min(1000000000, p - 1) << endl;
    int r;
    cin >> r;
    if(r == 1) break;
    else p /= 2;
  }
}
            
            
            
        