結果

問題 No.1793 実数当てゲーム
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-12-23 21:42:55
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 393 bytes
コンパイル時間 353 ms
コンパイル使用メモリ 81,940 KB
実行使用メモリ 90,144 KB
平均クエリ数 994.72
最終ジャッジ日時 2023-10-17 23:28:48
合計ジャッジ時間 4,668 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
70,116 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 AC 212 ms
89,708 KB
testcase_06 AC 193 ms
90,128 KB
testcase_07 AC 193 ms
90,128 KB
testcase_08 AC 196 ms
90,124 KB
testcase_09 AC 195 ms
90,120 KB
testcase_10 AC 194 ms
90,144 KB
testcase_11 AC 191 ms
89,748 KB
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

"""

import sys
from sys import stdin

TT = int(stdin.readline())

for qloop in range(TT):

    L = 10**-6
    R = 12.22*(10**74)

    for loop in range(24):

        M = (L*R)**0.5
        print ("?","%f" % M,flush=True)

        S = stdin.readline()[:-1]
        if S[0] == "Y":
            L = M
        else:
            R = M

    print ("!", "%f" % ((L*R)**0.5) , flush=True)
    
0