結果

問題 No.1139 Slime Race
ユーザー lllllll88938494
提出日時 2022-01-18 11:39:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 101,888 KB
最終ジャッジ日時 2024-11-23 13:19:46
合計ジャッジ時間 3,707 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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()))
sv = sum(v)
if d%sv==0:
    print(d//sv)
else:
    print(d//sv+1)
0