結果
問題 | No.3011 あ、俺こいつの役やりたい! |
ユーザー |
|
提出日時 | 2025-01-25 13:52:53 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 243 bytes |
コンパイル時間 | 3,259 ms |
コンパイル使用メモリ | 190,756 KB |
実行使用メモリ | 26,240 KB |
平均クエリ数 | 11.61 |
最終ジャッジ日時 | 2025-01-25 23:01:45 |
合計ジャッジ時間 | 5,924 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge7 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 44 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int now = 1000000000; while(true){ now = (now+1)/2; cout << now << endl; int x; cin >> x; if(x == 1) break; } }