結果

問題 No.1139 Slime Race
ユーザー TomoyarnTomoyarn
提出日時 2022-01-25 17:31:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 86,756 KB
実行使用メモリ 102,944 KB
最終ジャッジ日時 2023-08-22 12:28:15
合計ジャッジ時間 5,819 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,052 KB
testcase_01 AC 73 ms
71,208 KB
testcase_02 AC 74 ms
71,008 KB
testcase_03 AC 74 ms
71,248 KB
testcase_04 AC 73 ms
71,052 KB
testcase_05 AC 74 ms
71,036 KB
testcase_06 AC 78 ms
75,700 KB
testcase_07 AC 75 ms
71,360 KB
testcase_08 AC 74 ms
71,240 KB
testcase_09 AC 74 ms
71,056 KB
testcase_10 AC 115 ms
100,416 KB
testcase_11 AC 115 ms
102,944 KB
testcase_12 AC 115 ms
98,420 KB
testcase_13 AC 74 ms
71,032 KB
testcase_14 AC 115 ms
100,488 KB
testcase_15 AC 113 ms
95,732 KB
testcase_16 AC 119 ms
97,192 KB
testcase_17 AC 117 ms
100,520 KB
testcase_18 AC 107 ms
96,956 KB
testcase_19 AC 98 ms
88,748 KB
testcase_20 AC 98 ms
88,700 KB
testcase_21 AC 107 ms
96,640 KB
testcase_22 AC 117 ms
100,296 KB
testcase_23 AC 115 ms
94,660 KB
testcase_24 AC 75 ms
71,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N, D = map(int, input().split())
x = list(map(int, input().split()))
v = list(map(int, input().split()))

v_sum = sum(v)

ans = math.ceil(D / v_sum)

print(ans)
0