結果

問題 No.1808 Fullgold Alchemist
ユーザー lloyzlloyz
提出日時 2022-01-14 21:35:53
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 250 ms / 2,000 ms
コード長 186 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 32,656 KB
最終ジャッジ日時 2024-04-30 13:12:46
合計ジャッジ時間 6,227 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
10,752 KB
testcase_01 AC 30 ms
10,624 KB
testcase_02 AC 30 ms
10,624 KB
testcase_03 AC 31 ms
10,624 KB
testcase_04 AC 36 ms
10,752 KB
testcase_05 AC 183 ms
14,712 KB
testcase_06 AC 236 ms
23,168 KB
testcase_07 AC 230 ms
23,188 KB
testcase_08 AC 246 ms
32,656 KB
testcase_09 AC 247 ms
32,656 KB
testcase_10 AC 246 ms
32,656 KB
testcase_11 AC 240 ms
32,656 KB
testcase_12 AC 248 ms
28,532 KB
testcase_13 AC 250 ms
28,532 KB
testcase_14 AC 246 ms
28,544 KB
testcase_15 AC 248 ms
28,536 KB
testcase_16 AC 36 ms
11,136 KB
testcase_17 AC 30 ms
10,624 KB
testcase_18 AC 64 ms
13,312 KB
testcase_19 AC 33 ms
10,880 KB
testcase_20 AC 79 ms
14,980 KB
testcase_21 AC 49 ms
12,288 KB
testcase_22 AC 30 ms
10,752 KB
testcase_23 AC 46 ms
11,776 KB
testcase_24 AC 36 ms
11,264 KB
testcase_25 AC 38 ms
11,392 KB
testcase_26 AC 61 ms
13,716 KB
testcase_27 AC 71 ms
14,856 KB
testcase_28 AC 229 ms
30,828 KB
testcase_29 AC 97 ms
17,304 KB
testcase_30 AC 90 ms
16,572 KB
testcase_31 AC 210 ms
28,652 KB
testcase_32 AC 142 ms
21,636 KB
testcase_33 AC 182 ms
25,696 KB
testcase_34 AC 228 ms
30,508 KB
testcase_35 AC 171 ms
24,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

ans = 10**10
tmp = 0
for i in range(n):
    tmp += A[i]
    ans = min(ans, tmp // (i + 1))
print(ans // m)
0