結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
北杜
|
| 提出日時 | 2025-01-25 12:43:44 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 22 ms / 2,000 ms |
| コード長 | 492 bytes |
| コンパイル時間 | 4,018 ms |
| コンパイル使用メモリ | 312,052 KB |
| 実行使用メモリ | 25,856 KB |
| 平均クエリ数 | 11.66 |
| 最終ジャッジ日時 | 2025-01-25 22:19:07 |
| 合計ジャッジ時間 | 7,179 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 |
ソースコード
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (ll)(n); i++)
#define all(a) (a).begin(), (a).end()
using ll = long long;
const int INF32 = 2e9;
const ll INF64 = 4e18;
int main() {
int x = 536870912;
for (int i = 0; i < 30; i++) {
cout << x << endl;
cout << flush;
int in;
cin >> in;
if (in == -1)return 0;
if (in == 1)return 0;
if (in == 0)x = x/2;
}
return 0;
}
北杜