結果

問題 No.1980 [Cherry 4th Tune D] 停止距離
ユーザー ikomaikoma
提出日時 2022-06-17 23:10:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 82,320 KB
実行使用メモリ 77,528 KB
最終ジャッジ日時 2024-04-17 15:33:47
合計ジャッジ時間 9,368 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
52,096 KB
testcase_01 AC 111 ms
76,544 KB
testcase_02 AC 212 ms
77,184 KB
testcase_03 AC 169 ms
76,928 KB
testcase_04 AC 108 ms
76,704 KB
testcase_05 WA -
testcase_06 AC 280 ms
77,184 KB
testcase_07 AC 283 ms
77,056 KB
testcase_08 AC 282 ms
77,312 KB
testcase_09 AC 267 ms
77,312 KB
testcase_10 WA -
testcase_11 AC 269 ms
77,172 KB
testcase_12 AC 272 ms
77,488 KB
testcase_13 AC 276 ms
77,440 KB
testcase_14 AC 280 ms
77,312 KB
testcase_15 WA -
testcase_16 AC 277 ms
77,184 KB
testcase_17 AC 278 ms
76,968 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 273 ms
77,032 KB
testcase_22 AC 275 ms
77,056 KB
testcase_23 AC 277 ms
76,928 KB
testcase_24 WA -
testcase_25 AC 266 ms
76,928 KB
testcase_26 AC 40 ms
52,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N=int(input())
for _ in range(N):
    T,m,L=map(float,input().split())
    b=20*m*T
    c = -20*m*L
    ans = (b**2-4*c)**0.5 - b
    ans /= 2
    ans *= 3600/1000 * 100
    ans = int(ans)
    print(f"{ans/100:.2f}")
0