結果
| 問題 | No.246 質問と回答 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-28 19:22:57 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 220 bytes |
| 記録 | |
| コンパイル時間 | 652 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 40,576 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2026-04-28 19:23:16 |
| 合計ジャッジ時間 | 16,808 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 30 |
ソースコード
max = 10 ** 9
min = 1
for i in range(100):
print("?" + str((max + min) // 2),flush = True)
ans = input()
if ans == "1":
min = (max + min) // 2
else:
max = (max + min) // 2
print("!",(max + min) // 2,flush = True)