結果

問題 No.1139 Slime Race
ユーザー FromBooskaFromBooska
提出日時 2023-03-03 03:47:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 85 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 883 ms
コンパイル使用メモリ 81,668 KB
実行使用メモリ 101,224 KB
最終ジャッジ日時 2023-10-17 22:36:29
合計ジャッジ時間 4,677 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,388 KB
testcase_01 AC 36 ms
53,388 KB
testcase_02 AC 36 ms
53,388 KB
testcase_03 AC 36 ms
53,388 KB
testcase_04 AC 37 ms
53,388 KB
testcase_05 AC 37 ms
53,388 KB
testcase_06 AC 41 ms
59,436 KB
testcase_07 AC 37 ms
53,388 KB
testcase_08 AC 37 ms
53,388 KB
testcase_09 AC 37 ms
53,388 KB
testcase_10 AC 76 ms
99,880 KB
testcase_11 AC 76 ms
98,652 KB
testcase_12 AC 85 ms
101,224 KB
testcase_13 AC 37 ms
53,388 KB
testcase_14 AC 76 ms
100,708 KB
testcase_15 AC 77 ms
97,136 KB
testcase_16 AC 84 ms
100,280 KB
testcase_17 AC 78 ms
101,024 KB
testcase_18 AC 69 ms
92,716 KB
testcase_19 AC 60 ms
82,888 KB
testcase_20 AC 60 ms
82,784 KB
testcase_21 AC 68 ms
92,576 KB
testcase_22 AC 79 ms
100,652 KB
testcase_23 AC 84 ms
98,636 KB
testcase_24 AC 37 ms
53,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# 合体すると合体両方のスピードになるので、結局単位時間に進む距離は不変
# つまり合体を無視していい

N, D = map(int, input().split())
X = list(map(int, input().split()))
V = list(map(int, input().split()))
sumV = sum(V)
T = (D+sumV-1)//sumV
print(T)
0