結果

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

ソースコード

diff #

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

#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define ALL(v) v.begin(),v.end()
typedef long long ll;
template <class T> using V=vector<T>;
template <class T> using VV=V<V<T>>;
 
int main(){
  ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  
  for(int i=0;i<30;i++){
    cout<<(1<<i)<<endl;
    int r;
    cin>>r;
    if(r==-1) return 0;
    if(r==1) return 0;
  }
  
  return 0;
}
0