結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
はーチャンネル
|
| 提出日時 | 2025-01-25 12:53:50 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 2,000 ms |
| コード長 | 550 bytes |
| コンパイル時間 | 3,052 ms |
| コンパイル使用メモリ | 158,896 KB |
| 実行使用メモリ | 26,084 KB |
| 平均クエリ数 | 30.00 |
| 最終ジャッジ日時 | 2025-01-25 22:25:50 |
| 合計ジャッジ時間 | 6,627 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge11 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<long long> VL;
typedef vector<VL> VVL;
typedef long long LL;
#define all(a) (a).begin(), (a).end()
#define Yes(n) cout << ((n) ? "Yes" : "No" ) << endl
#define ALL(a) (a).begin(),(a).end()
#define pb push_back
int main() {
int r=1000000000;
rep(i,30){
//t=(r+l)/2;
cout<<r<<endl;
int a;cin>>a; a=0;
if(a==1){return 0;}
r/=2;//r++;
//cout<<r<<endl;
}
}
はーチャンネル