結果

問題 No.1139 Slime Race
ユーザー Tomoyarn
提出日時 2022-01-25 17:31:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 85 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 469 ms
コンパイル使用メモリ 81,844 KB
実行使用メモリ 101,760 KB
最終ジャッジ日時 2024-12-16 09:28:29
合計ジャッジ時間 3,706 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N, D = map(int, input().split())
x = list(map(int, input().split()))
v = list(map(int, input().split()))

v_sum = sum(v)

ans = math.ceil(D / v_sum)

print(ans)
0