結果
| 問題 | No.1793 実数当てゲーム |
| コンテスト | |
| ユーザー |
👑 tute7627
|
| 提出日時 | 2021-12-22 00:34:48 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 373 bytes |
| 記録 | |
| コンパイル時間 | 299 ms |
| コンパイル使用メモリ | 21,340 KB |
| 実行使用メモリ | 20,844 KB |
| 平均クエリ数 | 27.00 |
| 最終ジャッジ日時 | 2026-09-05 16:22:32 |
| 合計ジャッジ時間 | 6,312 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 18 |
ソースコード
import math
T = int(input())
while T >= 0:
T-=1
ok = 5*(10**-6)
ng = 12.22*(10**74)
for i in range(24):
mid = math.exp((math.log(ok) + math.log(ng)) / 2)
print("? {:.10f}".format(mid), flush=True)
ans = input()
if ans == "Yes":
ok = mid
else:
ng = mid
print("{:.10f}".format(ok))
tute7627