結果

問題 No.1808 Fullgold Alchemist
ユーザー 👑 H20H20
提出日時 2022-01-14 21:43:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 94 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 224 ms
コンパイル使用メモリ 82,100 KB
実行使用メモリ 105,024 KB
最終ジャッジ日時 2024-04-30 13:44:45
合計ジャッジ時間 3,444 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,216 KB
testcase_01 AC 35 ms
51,756 KB
testcase_02 AC 36 ms
52,132 KB
testcase_03 AC 32 ms
52,500 KB
testcase_04 AC 32 ms
51,756 KB
testcase_05 AC 66 ms
97,392 KB
testcase_06 AC 76 ms
105,024 KB
testcase_07 AC 74 ms
103,680 KB
testcase_08 AC 94 ms
102,696 KB
testcase_09 AC 90 ms
102,592 KB
testcase_10 AC 88 ms
102,508 KB
testcase_11 AC 88 ms
102,244 KB
testcase_12 AC 79 ms
102,520 KB
testcase_13 AC 77 ms
102,088 KB
testcase_14 AC 76 ms
103,100 KB
testcase_15 AC 79 ms
102,596 KB
testcase_16 AC 37 ms
61,724 KB
testcase_17 AC 32 ms
52,560 KB
testcase_18 AC 42 ms
67,308 KB
testcase_19 AC 36 ms
59,728 KB
testcase_20 AC 44 ms
69,572 KB
testcase_21 AC 38 ms
63,148 KB
testcase_22 AC 32 ms
53,360 KB
testcase_23 AC 37 ms
62,408 KB
testcase_24 AC 35 ms
60,104 KB
testcase_25 AC 37 ms
61,264 KB
testcase_26 AC 40 ms
67,024 KB
testcase_27 AC 44 ms
69,612 KB
testcase_28 AC 75 ms
102,572 KB
testcase_29 AC 50 ms
73,688 KB
testcase_30 AC 46 ms
72,548 KB
testcase_31 AC 71 ms
98,664 KB
testcase_32 AC 57 ms
83,320 KB
testcase_33 AC 65 ms
93,276 KB
testcase_34 AC 75 ms
102,484 KB
testcase_35 AC 62 ms
89,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int, input().split())
A = list(map(int, input().split()))
su = 0
ma = 10**10
for i in range(N):
    su+=A[i]
    ma = min(su//(i+1),ma)
print(ma//K)
0