提出 #18111356


ソースコード 拡げる

sx,sy,gx,gy=map(float,input().split())
print((sx*gy+gx*sy)/(sy+gy))

提出情報

提出日時
問題 B - Billiards
ユーザ kyopro_friends
言語 Python (3.8.2)
得点 200
コード長 68 Byte
結果 AC
実行時間 25 ms
メモリ 8964 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 200 / 200
結果
AC × 3
AC × 23
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
hand_01.txt AC 19 ms 8864 KiB
hand_02.txt AC 25 ms 8864 KiB
hand_03.txt AC 18 ms 8768 KiB
hand_04.txt AC 20 ms 8920 KiB
hand_05.txt AC 19 ms 8860 KiB
random_01.txt AC 24 ms 8768 KiB
random_02.txt AC 21 ms 8864 KiB
random_03.txt AC 18 ms 8772 KiB
random_04.txt AC 22 ms 8860 KiB
random_05.txt AC 19 ms 8964 KiB
random_06.txt AC 20 ms 8736 KiB
random_07.txt AC 20 ms 8764 KiB
random_08.txt AC 19 ms 8856 KiB
random_09.txt AC 20 ms 8832 KiB
random_10.txt AC 22 ms 8868 KiB
random_11.txt AC 21 ms 8768 KiB
random_12.txt AC 20 ms 8852 KiB
random_13.txt AC 19 ms 8776 KiB
random_14.txt AC 19 ms 8764 KiB
random_15.txt AC 20 ms 8920 KiB
sample_01.txt AC 25 ms 8776 KiB
sample_02.txt AC 22 ms 8924 KiB
sample_03.txt AC 20 ms 8924 KiB