結果

問題 No.1139 Slime Race
ユーザー 8nd5t8nd5t
提出日時 2020-08-01 01:36:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 401 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 24,864 KB
最終ジャッジ日時 2023-09-15 03:01:19
合計ジャッジ時間 2,994 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,736 KB
testcase_01 AC 29 ms
9,768 KB
testcase_02 AC 29 ms
9,768 KB
testcase_03 AC 29 ms
9,924 KB
testcase_04 AC 29 ms
9,784 KB
testcase_05 AC 29 ms
9,768 KB
testcase_06 AC 30 ms
10,124 KB
testcase_07 AC 29 ms
9,744 KB
testcase_08 AC 29 ms
9,728 KB
testcase_09 AC 29 ms
9,780 KB
testcase_10 AC 87 ms
24,864 KB
testcase_11 AC 82 ms
21,404 KB
testcase_12 AC 88 ms
24,716 KB
testcase_13 AC 30 ms
9,760 KB
testcase_14 AC 77 ms
20,716 KB
testcase_15 AC 77 ms
21,448 KB
testcase_16 AC 87 ms
24,600 KB
testcase_17 AC 80 ms
20,716 KB
testcase_18 AC 73 ms
21,100 KB
testcase_19 AC 57 ms
15,516 KB
testcase_20 AC 57 ms
15,440 KB
testcase_21 AC 70 ms
18,188 KB
testcase_22 AC 81 ms
20,468 KB
testcase_23 AC 89 ms
24,576 KB
testcase_24 AC 29 ms
9,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter,defaultdict,deque
from heapq import heappop,heappush
from bisect import bisect_left,bisect_right 
import sys,math,itertools,fractions
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

n,d = inpl()
x = inpl()
v = inpl()
s = sum(v)
print((d+s-1)//s)
0