結果

問題 No.1139 Slime Race
ユーザー uni_pythonuni_python
提出日時 2020-08-01 11:47:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 281 bytes
コンパイル時間 717 ms
コンパイル使用メモリ 86,540 KB
実行使用メモリ 101,600 KB
最終ジャッジ日時 2023-09-15 03:02:08
合計ジャッジ時間 4,078 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,104 KB
testcase_01 AC 70 ms
70,856 KB
testcase_02 AC 72 ms
71,068 KB
testcase_03 AC 73 ms
70,928 KB
testcase_04 AC 72 ms
70,932 KB
testcase_05 AC 73 ms
70,936 KB
testcase_06 AC 79 ms
75,272 KB
testcase_07 AC 72 ms
71,016 KB
testcase_08 AC 72 ms
70,988 KB
testcase_09 AC 72 ms
70,860 KB
testcase_10 AC 111 ms
98,768 KB
testcase_11 AC 108 ms
101,600 KB
testcase_12 AC 111 ms
96,888 KB
testcase_13 AC 73 ms
70,720 KB
testcase_14 AC 111 ms
98,916 KB
testcase_15 AC 106 ms
93,908 KB
testcase_16 AC 110 ms
95,164 KB
testcase_17 AC 112 ms
99,220 KB
testcase_18 AC 103 ms
95,192 KB
testcase_19 AC 92 ms
88,200 KB
testcase_20 AC 92 ms
87,780 KB
testcase_21 AC 100 ms
95,204 KB
testcase_22 AC 113 ms
98,808 KB
testcase_23 AC 111 ms
92,340 KB
testcase_24 AC 75 ms
70,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    N,D=MI()
    x=LI()
    v=LI()
    V=sum(v)
    ans=(D+V-1)//V
    
    print(ans)


main()
0