結果

問題 No.1808 Fullgold Alchemist
ユーザー 👑 KazunKazun
提出日時 2022-01-14 21:26:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 82,500 KB
実行使用メモリ 104,756 KB
最終ジャッジ日時 2024-04-30 12:44:23
合計ジャッジ時間 3,466 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,140 KB
testcase_01 AC 35 ms
53,916 KB
testcase_02 AC 32 ms
52,396 KB
testcase_03 AC 31 ms
52,276 KB
testcase_04 AC 33 ms
52,204 KB
testcase_05 AC 70 ms
98,260 KB
testcase_06 AC 75 ms
103,900 KB
testcase_07 AC 75 ms
104,756 KB
testcase_08 AC 91 ms
102,784 KB
testcase_09 AC 86 ms
102,504 KB
testcase_10 AC 89 ms
102,748 KB
testcase_11 AC 87 ms
101,980 KB
testcase_12 AC 77 ms
103,212 KB
testcase_13 AC 80 ms
102,808 KB
testcase_14 AC 77 ms
103,200 KB
testcase_15 AC 80 ms
103,712 KB
testcase_16 AC 36 ms
61,996 KB
testcase_17 AC 31 ms
52,288 KB
testcase_18 AC 42 ms
66,884 KB
testcase_19 AC 38 ms
60,696 KB
testcase_20 AC 46 ms
70,208 KB
testcase_21 AC 38 ms
63,144 KB
testcase_22 AC 32 ms
52,612 KB
testcase_23 AC 37 ms
62,340 KB
testcase_24 AC 36 ms
60,364 KB
testcase_25 AC 38 ms
61,344 KB
testcase_26 AC 43 ms
66,316 KB
testcase_27 AC 45 ms
69,296 KB
testcase_28 AC 76 ms
102,940 KB
testcase_29 AC 48 ms
74,176 KB
testcase_30 AC 46 ms
72,480 KB
testcase_31 AC 71 ms
98,048 KB
testcase_32 AC 59 ms
84,760 KB
testcase_33 AC 65 ms
93,412 KB
testcase_34 AC 77 ms
102,656 KB
testcase_35 AC 64 ms
89,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
A=list(map(int,input().split()))

Ans=float("inf")
S=0
for i,a in enumerate(A,1):
    S+=a
    Ans=min(Ans,S//(i*M))

print(Ans)
0