結果
問題 |
No.3011 あ、俺こいつの役やりたい!
|
ユーザー |
|
提出日時 | 2025-02-11 10:52:05 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 23 ms / 2,000 ms |
コード長 | 265 bytes |
コンパイル時間 | 950 ms |
コンパイル使用メモリ | 82,392 KB |
実行使用メモリ | 25,984 KB |
平均クエリ数 | 11.61 |
最終ジャッジ日時 | 2025-02-11 10:52:11 |
合計ジャッジ時間 | 5,860 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 44 |
ソースコード
#include <iostream> #include <cstdint> #include <vector> using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int32_t x = 1'000'000'000, r; do { x = (x + 1) >> 1; cout << x << endl; } while (cin >> r, r == 0); return 0; }