結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー tobbie
提出日時 2025-04-12 23:54:41
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 2,160 ms
コンパイル使用メモリ 191,476 KB
実行使用メモリ 25,984 KB
平均クエリ数 12.45
最終ジャッジ日時 2025-04-12 23:54:48
合計ジャッジ時間 6,658 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 44
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
  int x = 1000000000;
  int r = 0;
  while (r == 0) {
    cout << x << endl;
    cin >> r;
    if (r == 0)
      x /= 2;
  }
  return 0;
}
0