結果

問題 No.1980 [Cherry 4th Tune D] 停止距離
ユーザー siganai
提出日時 2022-06-17 23:56:42
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 518 bytes
コンパイル時間 408 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 117,404 KB
最終ジャッジ日時 2024-10-09 10:34:26
合計ジャッジ時間 6,030 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 TLE * 1 -- * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env PyPy3

from collections import Counter, defaultdict, deque
import itertools
import re
import math
from functools import reduce
import operator
import bisect
from heapq import *
import functools
from decimal import *
mod=998244353

import sys
input=sys.stdin.readline
n = int(input())
for _ in range(n):
    t,myu,l=map(Decimal,input().split())
    v = -10 * myu * t + (100 * myu ** 2 * t ** 2 + 20 * myu * l) ** Decimal(0.5)
    V = v * Decimal(3.6)
    print('{:.2f}'.format(math.floor(V * 100) / 100))
0