結果

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

ソースコード

diff #

#include <iostream>

int main() {
    int M = 30;
    int curr = 500000000;
    int r;
    while (M--) {
        std::cout << curr << std::endl;
        std::cin >> r;
        if (r) return 0;
        curr /= 2;
    }
}
0