結果

問題 No.1139 Slime Race
ユーザー osrgy01osrgy01
提出日時 2021-06-06 14:18:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 87 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 23,556 KB
最終ジャッジ日時 2023-08-14 20:19:09
合計ジャッジ時間 3,914 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,928 KB
testcase_01 AC 16 ms
7,784 KB
testcase_02 AC 15 ms
7,820 KB
testcase_03 AC 15 ms
7,936 KB
testcase_04 AC 15 ms
7,888 KB
testcase_05 AC 15 ms
7,836 KB
testcase_06 AC 15 ms
8,448 KB
testcase_07 AC 15 ms
7,768 KB
testcase_08 AC 15 ms
7,884 KB
testcase_09 AC 15 ms
7,932 KB
testcase_10 AC 85 ms
23,556 KB
testcase_11 AC 81 ms
20,156 KB
testcase_12 AC 84 ms
23,404 KB
testcase_13 AC 14 ms
7,936 KB
testcase_14 AC 70 ms
19,240 KB
testcase_15 AC 71 ms
20,080 KB
testcase_16 AC 84 ms
23,064 KB
testcase_17 AC 79 ms
19,140 KB
testcase_18 AC 68 ms
19,112 KB
testcase_19 AC 51 ms
14,732 KB
testcase_20 AC 47 ms
13,720 KB
testcase_21 AC 61 ms
16,396 KB
testcase_22 AC 77 ms
18,804 KB
testcase_23 AC 87 ms
22,960 KB
testcase_24 AC 15 ms
7,920 KB
権限があれば一括ダウンロードができます

ソースコード

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