結果
問題 | No.3011 あ、俺こいつの役やりたい! |
ユーザー |
![]() |
提出日時 | 2025-01-30 21:22:24 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 24 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 2,225 ms |
コンパイル使用メモリ | 191,360 KB |
実行使用メモリ | 26,332 KB |
平均クエリ数 | 11.66 |
最終ジャッジ日時 | 2025-01-30 21:22:30 |
合計ジャッジ時間 | 5,980 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 44 |
ソースコード
#include <bits/stdc++.h>using namespace std;void fast_io() {ios::sync_with_stdio(false);std::cin.tie(nullptr);}int main() {fast_io();int cur = 1 << 29;while (true) {cout << cur << endl;int r;cin >> r;if (r) {break;}cur >>= 1;}}