結果

問題 No.1139 Slime Race
ユーザー osrgy01osrgy01
提出日時 2021-06-06 14:18:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 25,756 KB
最終ジャッジ日時 2024-11-22 20:56:20
合計ジャッジ時間 3,581 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

n,d=map(int,input().split())
x=[*map(int,input().split())]
v=[*map(int,input().split())]
t=0
for i in range(n):
    t+=v[i]
ans=(d+t-1)//t
print(ans)
0