結果
問題 |
No.1980 [Cherry 4th Tune D] 停止距離
|
ユーザー |
|
提出日時 | 2022-06-17 22:47:15 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 310 bytes |
コンパイル時間 | 374 ms |
コンパイル使用メモリ | 82,520 KB |
実行使用メモリ | 102,596 KB |
最終ジャッジ日時 | 2024-10-09 09:06:22 |
合計ジャッジ時間 | 6,127 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 TLE * 1 -- * 25 |
ソースコード
from decimal import Decimal, ROUND_DOWN n = int(input()) for _ in range(n): t, mu, l = map(Decimal, input().split()) v = (-t + (t**Decimal(2) + l / (Decimal(5) * mu))**Decimal(0.5)) * Decimal(10) * mu v *= Decimal(3.6) v = v.quantize(Decimal('.01'), rounding=ROUND_DOWN) print(f"{v:.2f}")