結果

問題 No.1139 Slime Race
ユーザー hiragnhiragn
提出日時 2022-11-19 11:59:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 444 ms
コンパイル使用メモリ 11,732 KB
実行使用メモリ 25,860 KB
最終ジャッジ日時 2023-10-20 17:23:30
合計ジャッジ時間 4,057 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
10,044 KB
testcase_01 AC 30 ms
10,044 KB
testcase_02 AC 29 ms
10,044 KB
testcase_03 AC 28 ms
10,048 KB
testcase_04 AC 29 ms
10,044 KB
testcase_05 AC 29 ms
10,044 KB
testcase_06 AC 30 ms
10,448 KB
testcase_07 AC 28 ms
10,044 KB
testcase_08 AC 29 ms
10,044 KB
testcase_09 AC 28 ms
10,044 KB
testcase_10 AC 83 ms
25,456 KB
testcase_11 AC 80 ms
22,308 KB
testcase_12 AC 88 ms
25,360 KB
testcase_13 AC 29 ms
10,044 KB
testcase_14 AC 74 ms
21,024 KB
testcase_15 AC 73 ms
22,004 KB
testcase_16 AC 84 ms
25,860 KB
testcase_17 AC 75 ms
21,024 KB
testcase_18 AC 69 ms
21,532 KB
testcase_19 AC 55 ms
15,820 KB
testcase_20 AC 54 ms
15,836 KB
testcase_21 AC 65 ms
18,420 KB
testcase_22 AC 75 ms
20,736 KB
testcase_23 AC 84 ms
24,852 KB
testcase_24 AC 29 ms
10,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n, d = map(int, input().split())
    _ = list(map(int, input().split()))
    v = list(map(int, input().split()))

    v_total = sum(v)
    ans = (d + v_total - 1) // v_total
    print(ans)


if __name__ == "__main__":
    main()
0