結果

問題 No.3011 あ、俺こいつの役やりたい!
ユーザー tomo8
提出日時 2025-01-25 14:24:23
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 245 bytes
コンパイル時間 3,327 ms
コンパイル使用メモリ 272,540 KB
実行使用メモリ 41,880 KB
平均クエリ数 0.05
最終ジャッジ日時 2025-01-25 23:20:14
合計ジャッジ時間 131,552 ms
ジャッジサーバーID
(参考情報)
judge6 / judge10
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 TLE * 42
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
  int t = 1000000000;
  while (1) {
  	cout << t << endl;
    int x; cin >> x;
    if (x == 1) {
      return 0;
    }
    else if (x == -1) {
      return 0;
    }
    else t<<=1;
  }
}
0