結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
51,968 KB
testcase_01 AC 249 ms
77,312 KB
testcase_02 WA -
testcase_03 AC 521 ms
77,056 KB
testcase_04 AC 209 ms
77,312 KB
testcase_05 AC 628 ms
77,696 KB
testcase_06 AC 914 ms
77,628 KB
testcase_07 AC 915 ms
77,672 KB
testcase_08 WA -
testcase_09 AC 913 ms
77,312 KB
testcase_10 WA -
testcase_11 AC 896 ms
77,312 KB
testcase_12 AC 924 ms
77,228 KB
testcase_13 AC 931 ms
77,312 KB
testcase_14 AC 912 ms
77,600 KB
testcase_15 WA -
testcase_16 AC 913 ms
77,696 KB
testcase_17 AC 926 ms
77,568 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 962 ms
77,704 KB
testcase_22 AC 924 ms
77,568 KB
testcase_23 AC 903 ms
77,420 KB
testcase_24 WA -
testcase_25 AC 916 ms
77,312 KB
testcase_26 AC 43 ms
51,712 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
	ans = float(str(ans)[:str(ans).find('.')+3])
	print(format(ans,'.2f'))
0