結果

問題 No.456 Millions of Submits!
ユーザー titiatitia
提出日時 2023-08-09 01:13:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 331 bytes
コンパイル時間 376 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 82,944 KB
最終ジャッジ日時 2024-04-26 17:03:06
合計ジャッジ時間 12,209 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,224 KB
testcase_01 AC 42 ms
52,736 KB
testcase_02 AC 41 ms
52,352 KB
testcase_03 AC 41 ms
52,736 KB
testcase_04 AC 42 ms
52,736 KB
testcase_05 AC 73 ms
66,048 KB
testcase_06 AC 69 ms
66,432 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import log

q=int(input())

for tests in range(q):
    a,b,t=map(float,input().split())

    # n**a * log(n)**b = t

    MAX = 100
    MIN = 0

    for tt in range(100):
        mid=(MAX+MIN)/2

        if (mid ** a) *(log(mid)**b)>=t:
            MAX=mid
        else:
            MIN=mid

    print((MAX+MIN)/2)
    


0