結果
問題 |
No.456 Millions of Submits!
|
ユーザー |
![]() |
提出日時 | 2023-08-09 01:29:28 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 406 bytes |
コンパイル時間 | 163 ms |
コンパイル使用メモリ | 81,948 KB |
実行使用メモリ | 77,660 KB |
最終ジャッジ日時 | 2024-11-14 06:38:45 |
合計ジャッジ時間 | 10,369 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 10 TLE * 1 |
ソースコード
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 if a==0: print(2.718281828459045**(t**(1/b))) continue MAX = t 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)