結果
問題 | No.3011 あ、俺こいつの役やりたい! |
ユーザー |
|
提出日時 | 2025-03-31 21:20:54 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 287 bytes |
コンパイル時間 | 3,074 ms |
コンパイル使用メモリ | 274,328 KB |
実行使用メモリ | 25,984 KB |
平均クエリ数 | 11.66 |
最終ジャッジ日時 | 2025-03-31 21:21:01 |
合計ジャッジ時間 | 6,903 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 44 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll=long long; void solve(){ ll an=(1ll<<29); while(1){ cout<<an<<endl; ll d; cin>>d; if(d==1)return; an/=2; } } int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int T=1; // cin>>T; while(T--)solve(); }