結果

問題 No.1808 Fullgold Alchemist
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2022-01-14 21:34:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 104 ms / 2,000 ms
コード長 185 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 82,576 KB
実行使用メモリ 104,400 KB
最終ジャッジ日時 2024-04-30 13:00:35
合計ジャッジ時間 3,860 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,740 KB
testcase_01 AC 37 ms
52,492 KB
testcase_02 AC 39 ms
52,552 KB
testcase_03 AC 38 ms
53,196 KB
testcase_04 AC 38 ms
52,444 KB
testcase_05 AC 75 ms
96,800 KB
testcase_06 AC 86 ms
104,400 KB
testcase_07 AC 86 ms
104,136 KB
testcase_08 AC 101 ms
102,588 KB
testcase_09 AC 104 ms
102,456 KB
testcase_10 AC 102 ms
102,420 KB
testcase_11 AC 100 ms
102,128 KB
testcase_12 AC 90 ms
103,568 KB
testcase_13 AC 89 ms
103,096 KB
testcase_14 AC 89 ms
102,616 KB
testcase_15 AC 87 ms
102,976 KB
testcase_16 AC 43 ms
60,708 KB
testcase_17 AC 37 ms
52,276 KB
testcase_18 AC 49 ms
66,396 KB
testcase_19 AC 42 ms
59,688 KB
testcase_20 AC 52 ms
69,864 KB
testcase_21 AC 45 ms
62,828 KB
testcase_22 AC 37 ms
52,328 KB
testcase_23 AC 45 ms
62,700 KB
testcase_24 AC 44 ms
60,248 KB
testcase_25 AC 45 ms
61,344 KB
testcase_26 AC 48 ms
66,248 KB
testcase_27 AC 51 ms
68,876 KB
testcase_28 AC 88 ms
102,640 KB
testcase_29 AC 57 ms
75,624 KB
testcase_30 AC 54 ms
72,900 KB
testcase_31 AC 81 ms
98,432 KB
testcase_32 AC 67 ms
82,840 KB
testcase_33 AC 75 ms
93,160 KB
testcase_34 AC 85 ms
102,332 KB
testcase_35 AC 72 ms
90,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

ans = float("inf")

now = 0

for i in range(N):

    now += A[i]
    ans = min(ans , now // (M*(i+1)))

print (ans)
0