結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー kyatatsu
提出日時 2025-01-25 18:47:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 1,450 ms
コンパイル使用メモリ 158,860 KB
実行使用メモリ 26,240 KB
平均クエリ数 1.00
最終ジャッジ日時 2025-01-26 00:01:21
合計ジャッジ時間 9,243 ms
ジャッジサーバーID
(参考情報)
judge5 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 41
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
    int now = 1;
    while(true) {
        cout<<now<<endl;
        int r; cin>>r;
        if(r==1) break;
        now*=2;
    }
}
0