結果

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

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned 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