結果

問題 No.1139 Slime Race
ユーザー vwxyzvwxyz
提出日時 2022-09-06 19:04:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 103 ms / 2,000 ms
コード長 241 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 25,608 KB
最終ジャッジ日時 2024-11-21 19:41:34
合計ジャッジ時間 3,594 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
readline=sys.stdin.readline
write=sys.stdout.write
from math import gcd as GCD
import math

N,D=map(int,readline().split())
X=list(map(int,readline().split()))
V=list(map(int,readline().split()))
S=sum(V)
ans=(D+S-1)//S
print(ans)
0