結果

問題 No.1980 [Cherry 4th Tune D] 停止距離
ユーザー k_o_pasturek_o_pasture
提出日時 2022-06-17 22:13:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 317 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 78,336 KB
最終ジャッジ日時 2024-04-17 14:15:01
合計ジャッジ時間 19,717 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
52,132 KB
testcase_01 AC 203 ms
77,576 KB
testcase_02 AC 525 ms
77,768 KB
testcase_03 AC 386 ms
77,824 KB
testcase_04 AC 168 ms
77,312 KB
testcase_05 AC 462 ms
77,572 KB
testcase_06 AC 696 ms
77,896 KB
testcase_07 AC 672 ms
77,952 KB
testcase_08 WA -
testcase_09 AC 703 ms
77,696 KB
testcase_10 WA -
testcase_11 AC 695 ms
77,824 KB
testcase_12 AC 694 ms
77,896 KB
testcase_13 AC 746 ms
77,312 KB
testcase_14 AC 748 ms
77,568 KB
testcase_15 WA -
testcase_16 AC 687 ms
77,312 KB
testcase_17 AC 863 ms
77,568 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 698 ms
77,440 KB
testcase_22 AC 679 ms
78,336 KB
testcase_23 AC 717 ms
78,080 KB
testcase_24 WA -
testcase_25 AC 689 ms
77,312 KB
testcase_26 AC 45 ms
52,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt,floor

N = int(input())
for _ in range(N):
	T, m, L = map(float, input().split())
	ans = -10 * m * T + sqrt(100*m*m*T*T + 20*m*L)
	ans = ans * 0.001 * 3600
	n = 2
	ans = floor(ans * 10 ** n) / (10 ** n)
	print(format(ans,'.2f'))
0