結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
ripity
|
| 提出日時 | 2025-02-03 19:34:20 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 202 bytes |
| コンパイル時間 | 2,325 ms |
| コンパイル使用メモリ | 191,580 KB |
| 実行使用メモリ | 26,468 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2025-02-03 19:34:33 |
| 合計ジャッジ時間 | 10,265 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 41 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int p = 2;
while(true) {
cout << min(1000000000, p - 1) << endl;
int r;
cin >> r;
if(r == 1) break;
else p *= 2;
}
}
ripity