結果
問題 |
No.1793 実数当てゲーム
|
ユーザー |
|
提出日時 | 2021-12-22 01:03:15 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 461 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 94,168 KB |
平均クエリ数 | 2230.56 |
最終ジャッジ日時 | 2024-09-28 13:27:15 |
合計ジャッジ時間 | 6,080 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 16 |
ソースコード
from math import sqrt def sol(): lo = 1e-5 hi = 12.22e74 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()