結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 14:38:58 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 22 ms / 2,000 ms |
| コード長 | 225 bytes |
| コンパイル時間 | 499 ms |
| コンパイル使用メモリ | 60,220 KB |
| 実行使用メモリ | 25,972 KB |
| 平均クエリ数 | 12.45 |
| 最終ジャッジ日時 | 2025-01-25 23:24:20 |
| 合計ジャッジ時間 | 3,616 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 |
ソースコード
#include<iostream>
#include<cassert>
using namespace std;
#define rep(i,n) for(int i=0;i<(n);++i)
int main(){
int now=1e9;
while(now){
cout<<now<<endl;
int t;
cin>>t;
assert(t!=-1);
if(t==1) break;
now/=2;
}
}