結果

問題 No.1808 Fullgold Alchemist
ユーザー ytqm3ytqm3
提出日時 2022-01-14 21:52:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 411 ms
コンパイル使用メモリ 82,508 KB
実行使用メモリ 104,164 KB
最終ジャッジ日時 2024-04-30 14:20:11
合計ジャッジ時間 3,556 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
53,316 KB
testcase_01 AC 33 ms
52,736 KB
testcase_02 AC 35 ms
52,204 KB
testcase_03 AC 34 ms
52,596 KB
testcase_04 AC 33 ms
52,732 KB
testcase_05 AC 67 ms
97,268 KB
testcase_06 AC 79 ms
103,756 KB
testcase_07 AC 77 ms
104,164 KB
testcase_08 AC 92 ms
102,716 KB
testcase_09 AC 90 ms
102,396 KB
testcase_10 AC 92 ms
102,684 KB
testcase_11 AC 91 ms
102,460 KB
testcase_12 AC 81 ms
103,468 KB
testcase_13 AC 80 ms
103,072 KB
testcase_14 AC 81 ms
103,272 KB
testcase_15 AC 82 ms
103,468 KB
testcase_16 AC 40 ms
60,636 KB
testcase_17 AC 33 ms
52,220 KB
testcase_18 AC 43 ms
65,976 KB
testcase_19 AC 38 ms
60,100 KB
testcase_20 AC 47 ms
70,360 KB
testcase_21 AC 40 ms
63,392 KB
testcase_22 AC 33 ms
52,560 KB
testcase_23 AC 38 ms
62,776 KB
testcase_24 AC 37 ms
60,248 KB
testcase_25 AC 38 ms
60,792 KB
testcase_26 AC 41 ms
65,996 KB
testcase_27 AC 46 ms
68,456 KB
testcase_28 AC 79 ms
102,688 KB
testcase_29 AC 50 ms
75,372 KB
testcase_30 AC 50 ms
73,924 KB
testcase_31 AC 73 ms
98,596 KB
testcase_32 AC 60 ms
84,488 KB
testcase_33 AC 67 ms
93,340 KB
testcase_34 AC 80 ms
102,496 KB
testcase_35 AC 64 ms
88,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
A=list(map(int,input().split()))
sm=0
mn=10**18
for i in range(N):
  sm+=A[i]
  mn=min(mn,sm//(i+1))
print(mn//M)
0