結果

問題 No.1139 Slime Race
ユーザー tamatotamato
提出日時 2020-07-31 21:22:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 290 bytes
コンパイル時間 896 ms
コンパイル使用メモリ 87,160 KB
実行使用メモリ 102,196 KB
最終ジャッジ日時 2023-09-15 02:43:23
合計ジャッジ時間 3,981 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,756 KB
testcase_01 AC 71 ms
71,716 KB
testcase_02 AC 72 ms
71,624 KB
testcase_03 AC 71 ms
71,660 KB
testcase_04 AC 73 ms
71,620 KB
testcase_05 AC 72 ms
71,656 KB
testcase_06 AC 88 ms
76,172 KB
testcase_07 AC 72 ms
71,712 KB
testcase_08 AC 72 ms
71,504 KB
testcase_09 AC 72 ms
71,488 KB
testcase_10 AC 110 ms
99,568 KB
testcase_11 AC 109 ms
102,196 KB
testcase_12 AC 113 ms
97,396 KB
testcase_13 AC 73 ms
71,744 KB
testcase_14 AC 111 ms
99,656 KB
testcase_15 AC 108 ms
94,468 KB
testcase_16 AC 109 ms
96,256 KB
testcase_17 AC 107 ms
99,620 KB
testcase_18 AC 101 ms
95,856 KB
testcase_19 AC 92 ms
88,448 KB
testcase_20 AC 94 ms
88,652 KB
testcase_21 AC 102 ms
95,752 KB
testcase_22 AC 112 ms
99,656 KB
testcase_23 AC 113 ms
93,376 KB
testcase_24 AC 74 ms
71,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    N, D = map(int, input().split())
    X = list(map(int, input().split()))
    V = list(map(int, input().split()))

    v = sum(V)
    print((D-1) // v + 1)


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