結果

問題 No.1808 Fullgold Alchemist
ユーザー 👑 H20H20
提出日時 2022-01-14 21:43:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 143 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 413 ms
コンパイル使用メモリ 86,720 KB
実行使用メモリ 107,172 KB
最終ジャッジ日時 2023-08-12 18:39:25
合計ジャッジ時間 5,806 ms
ジャッジサーバーID
(参考情報)
judge10 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,148 KB
testcase_01 AC 72 ms
71,204 KB
testcase_02 AC 72 ms
71,176 KB
testcase_03 AC 74 ms
71,228 KB
testcase_04 AC 73 ms
71,348 KB
testcase_05 AC 143 ms
104,140 KB
testcase_06 AC 120 ms
107,172 KB
testcase_07 AC 117 ms
106,836 KB
testcase_08 AC 130 ms
99,616 KB
testcase_09 AC 130 ms
99,672 KB
testcase_10 AC 130 ms
99,636 KB
testcase_11 AC 131 ms
100,336 KB
testcase_12 AC 120 ms
106,624 KB
testcase_13 AC 121 ms
106,300 KB
testcase_14 AC 120 ms
106,472 KB
testcase_15 AC 119 ms
106,460 KB
testcase_16 AC 76 ms
76,336 KB
testcase_17 AC 71 ms
70,944 KB
testcase_18 AC 82 ms
79,100 KB
testcase_19 AC 77 ms
75,908 KB
testcase_20 AC 85 ms
81,464 KB
testcase_21 AC 79 ms
76,420 KB
testcase_22 AC 73 ms
71,184 KB
testcase_23 AC 77 ms
76,112 KB
testcase_24 AC 77 ms
76,116 KB
testcase_25 AC 77 ms
76,208 KB
testcase_26 AC 82 ms
78,408 KB
testcase_27 AC 87 ms
80,448 KB
testcase_28 AC 130 ms
99,788 KB
testcase_29 AC 89 ms
84,464 KB
testcase_30 AC 88 ms
83,008 KB
testcase_31 AC 117 ms
102,024 KB
testcase_32 AC 99 ms
90,832 KB
testcase_33 AC 108 ms
98,104 KB
testcase_34 AC 124 ms
99,636 KB
testcase_35 AC 105 ms
95,576 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