結果
問題 |
No.1980 [Cherry 4th Tune D] 停止距離
|
ユーザー |
👑 ![]() |
提出日時 | 2022-03-13 19:35:20 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 476 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 82,076 KB |
実行使用メモリ | 110,868 KB |
最終ジャッジ日時 | 2024-10-09 06:28:17 |
合計ジャッジ時間 | 80,626 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 7 TLE * 20 |
ソースコード
# WA 想定 from decimal import * import sys from math import * input=sys.stdin.readline write=sys.stdout.write N=int(input()) Ans=[None]*N getcontext().prec=7 for n in range(N): T,mu,L=map(Decimal,input().split()) V=36*(-5*mu*T+Decimal(sqrt(5*mu*(L+5*mu*T*T))))/5 V=str(V) if ("." not in V): V+=".00" elif V.index(".")==len(V)-2: V+="00" V=V[:V.index(".")+3] Ans[n]=V write("\n".join(map(str,Ans)))