結果

問題 No.1139 Slime Race
ユーザー zyxw
提出日時 2021-02-02 22:06:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,818 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 81,916 KB
実行使用メモリ 102,084 KB
最終ジャッジ日時 2024-07-02 08:34:39
合計ジャッジ時間 4,888 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

N,D=map(int,input().split())
x=list(map(int,input().split()))
v=list(map(int,input().split()))
f=sum(v)
memo=0
t=0
while memo<D:
    memo+=f
    t+=1
print(t)
0