結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 17:00:39 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 292 bytes |
| コンパイル時間 | 3,268 ms |
| コンパイル使用メモリ | 274,372 KB |
| 実行使用メモリ | 26,216 KB |
| 平均クエリ数 | 12.45 |
| 最終ジャッジ日時 | 2025-01-25 23:56:32 |
| 合計ジャッジ時間 | 6,799 ms |
|
ジャッジサーバーID (参考情報) |
judge13 / judge7 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int x = 1e9;
while (true) {
cout << x << endl;
int r;
cin >> r;
if (r == 1 || r == -1) {
return 0;
} else if (r == 0) {
x /= 2;
}
}
return 0;
}