結果
問題 |
No.1793 実数当てゲーム
|
ユーザー |
|
提出日時 | 2021-12-22 01:04:01 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 329 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 82,096 KB |
実行使用メモリ | 94,452 KB |
平均クエリ数 | 2230.56 |
最終ジャッジ日時 | 2024-09-28 13:27:33 |
合計ジャッジ時間 | 5,419 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 16 |
ソースコード
from math import sqrt def sol(): lo = 0.9e-5 hi = 12.2200001e74 for _ in range(24): me = sqrt(lo * hi) print("? {:.100f}".format(me), flush=True) res = input() if res == "Yes": lo = me else: hi = me print("! {:.100f}".format(me), flush=True) T = int(input()) for _ in range(T): sol()