結果

問題 No.1139 Slime Race
ユーザー zyxwzyxw
提出日時 2021-02-02 22:06:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,864 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 86,828 KB
実行使用メモリ 103,076 KB
最終ジャッジ日時 2023-09-15 03:10:14
合計ジャッジ時間 6,233 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,008 KB
testcase_01 AC 71 ms
71,356 KB
testcase_02 AC 75 ms
71,340 KB
testcase_03 AC 75 ms
75,288 KB
testcase_04 AC 75 ms
75,216 KB
testcase_05 AC 72 ms
71,360 KB
testcase_06 AC 75 ms
75,868 KB
testcase_07 AC 71 ms
71,196 KB
testcase_08 AC 72 ms
71,424 KB
testcase_09 AC 629 ms
75,588 KB
testcase_10 AC 110 ms
100,360 KB
testcase_11 AC 108 ms
103,076 KB
testcase_12 AC 111 ms
98,464 KB
testcase_13 AC 1,864 ms
75,296 KB
testcase_14 AC 110 ms
100,328 KB
testcase_15 AC 105 ms
95,700 KB
testcase_16 AC 108 ms
97,044 KB
testcase_17 AC 110 ms
100,328 KB
testcase_18 AC 101 ms
96,536 KB
testcase_19 AC 94 ms
89,092 KB
testcase_20 AC 95 ms
89,552 KB
testcase_21 AC 103 ms
96,392 KB
testcase_22 AC 111 ms
100,376 KB
testcase_23 AC 113 ms
94,556 KB
testcase_24 AC 73 ms
71,184 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,D=map(int,input().split())
x=list(map(int,input().split()))
v=list(map(int,input().split()))
f=sum(v)
memo=0
t=0
while memo<D:
    memo+=f
    t+=1
print(t)
0