結果

問題 No.1139 Slime Race
ユーザー thglaflsthglafls
提出日時 2022-11-23 19:26:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 568 ms / 2,000 ms
コード長 193 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 11,716 KB
実行使用メモリ 75,216 KB
最終ジャッジ日時 2023-10-25 04:39:12
合計ジャッジ時間 19,779 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 550 ms
42,324 KB
testcase_01 AC 473 ms
42,448 KB
testcase_02 AC 483 ms
42,448 KB
testcase_03 AC 498 ms
42,448 KB
testcase_04 AC 493 ms
42,448 KB
testcase_05 AC 495 ms
42,448 KB
testcase_06 AC 493 ms
42,448 KB
testcase_07 AC 496 ms
42,448 KB
testcase_08 AC 492 ms
42,448 KB
testcase_09 AC 470 ms
42,448 KB
testcase_10 AC 546 ms
52,260 KB
testcase_11 AC 568 ms
51,756 KB
testcase_12 AC 550 ms
51,756 KB
testcase_13 AC 473 ms
42,448 KB
testcase_14 AC 525 ms
50,948 KB
testcase_15 AC 531 ms
49,164 KB
testcase_16 AC 539 ms
51,716 KB
testcase_17 AC 535 ms
50,948 KB
testcase_18 AC 519 ms
48,636 KB
testcase_19 AC 501 ms
46,788 KB
testcase_20 AC 502 ms
46,524 KB
testcase_21 AC 522 ms
48,900 KB
testcase_22 AC 533 ms
50,748 KB
testcase_23 AC 542 ms
51,608 KB
testcase_24 AC 472 ms
75,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

N, D = [int(i) for i in input().split()]

x = np.array([int(i) for i in input().split()])
v = np.array([int(i) for i in input().split()])

print(int(np.ceil(D / np.sum(v))))
0