結果

問題 No.1980 [Cherry 4th Tune D] 停止距離
ユーザー hir355hir355
提出日時 2022-06-17 21:45:35
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 339 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 77,568 KB
最終ジャッジ日時 2024-04-17 13:26:34
合計ジャッジ時間 24,397 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
51,840 KB
testcase_01 AC 252 ms
76,672 KB
testcase_02 AC 715 ms
76,800 KB
testcase_03 AC 542 ms
76,800 KB
testcase_04 AC 214 ms
76,800 KB
testcase_05 AC 624 ms
77,220 KB
testcase_06 AC 968 ms
76,928 KB
testcase_07 AC 948 ms
76,800 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 989 ms
77,056 KB
testcase_12 AC 906 ms
77,156 KB
testcase_13 AC 934 ms
76,928 KB
testcase_14 AC 942 ms
76,928 KB
testcase_15 AC 930 ms
77,056 KB
testcase_16 AC 934 ms
77,312 KB
testcase_17 AC 984 ms
77,184 KB
testcase_18 AC 925 ms
77,056 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 939 ms
76,928 KB
testcase_22 AC 953 ms
76,928 KB
testcase_23 AC 963 ms
77,324 KB
testcase_24 WA -
testcase_25 AC 911 ms
76,928 KB
testcase_26 AC 40 ms
52,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
for _ in range(n):
    b, a, c = map(float, input().split())
    v = 2 * (5 ** .5 * (a * (5 * a * b ** 2 + c)) ** .5 - 5 * a * b)
    x, y = str(v * 3600 / 1000).split('.')
    print(x, y[:2][::-1].zfill(2)[::-1], sep='.')
0