結果

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

ソースコード

diff #

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

int main() {
    int r = 500000000;
    for (int i = 0;i < 30;i++) {
        cout << r << endl;
        int a = 0;
        cin >> a;
        if (a) {
            return 0;
        } else {
            r /= 2;
        }
    }
}
0