結果
| 問題 | No.3011 あ、俺こいつの役やりたい! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 12:42:51 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 17 ms / 2,000 ms |
| コード長 | 282 bytes |
| 記録 | |
| コンパイル時間 | 2,162 ms |
| コンパイル使用メモリ | 328,988 KB |
| 実行使用メモリ | 30,008 KB |
| 平均クエリ数 | 12.45 |
| 最終ジャッジ日時 | 2026-06-23 20:28:15 |
| 合計ジャッジ時間 | 5,585 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 |
ソースコード
#include <bits/stdc++.h>
#include <cstdlib>
#include <math.h>
using namespace std;
using ll = long long;
int main(){
int n=1e9;
for(int i=0;i<30;i++){
cout << n << endl;
int x;
cin >> x;
if(x==1)return 0;
n/=2;
}
return 0;
}