結果

問題 No.1980 [Cherry 4th Tune D] 停止距離
ユーザー lilictakalilictaka
提出日時 2022-06-17 23:33:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 338 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 82,540 KB
実行使用メモリ 86,016 KB
最終ジャッジ日時 2024-04-17 16:02:55
合計ジャッジ時間 11,102 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,224 KB
testcase_01 AC 138 ms
77,824 KB
testcase_02 AC 277 ms
81,328 KB
testcase_03 AC 219 ms
79,712 KB
testcase_04 AC 128 ms
77,576 KB
testcase_05 AC 263 ms
80,700 KB
testcase_06 AC 386 ms
86,016 KB
testcase_07 AC 332 ms
85,556 KB
testcase_08 WA -
testcase_09 AC 323 ms
85,636 KB
testcase_10 WA -
testcase_11 AC 340 ms
85,292 KB
testcase_12 AC 333 ms
85,296 KB
testcase_13 AC 339 ms
85,680 KB
testcase_14 AC 333 ms
85,172 KB
testcase_15 WA -
testcase_16 AC 346 ms
84,852 KB
testcase_17 AC 332 ms
84,600 KB
testcase_18 AC 343 ms
84,860 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 346 ms
84,600 KB
testcase_22 AC 336 ms
84,980 KB
testcase_23 AC 347 ms
84,596 KB
testcase_24 WA -
testcase_25 AC 334 ms
84,344 KB
testcase_26 AC 43 ms
52,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
def solve(T,u,L):
    ans = -10 * u * T + (100 * (u ** 2) * (T ** 2) + 20 * u * L) ** 0.5
    ans *= 3.6
    ans *= 10 ** 2
    ans = int(ans)
    ans /= 10 ** 2
    return ans
ANS = []
for _ in range(N):
    T,u,L = map(float,input().split())
    ANS.append(solve(T,u,L))
for ans in ANS:
    print('{:.2f}'.format(ans))
0