結果

問題 No.1808 Fullgold Alchemist
ユーザー ytqm3ytqm3
提出日時 2022-01-14 21:52:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 492 ms
コンパイル使用メモリ 87,084 KB
実行使用メモリ 107,128 KB
最終ジャッジ日時 2023-08-12 19:15:09
合計ジャッジ時間 5,740 ms
ジャッジサーバーID
(参考情報)
judge2 / judge7
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,296 KB
testcase_01 AC 71 ms
71,420 KB
testcase_02 AC 70 ms
71,068 KB
testcase_03 AC 71 ms
71,436 KB
testcase_04 AC 72 ms
71,340 KB
testcase_05 AC 108 ms
104,424 KB
testcase_06 AC 115 ms
107,128 KB
testcase_07 AC 116 ms
107,112 KB
testcase_08 AC 129 ms
99,776 KB
testcase_09 AC 128 ms
99,888 KB
testcase_10 AC 129 ms
99,804 KB
testcase_11 AC 127 ms
100,656 KB
testcase_12 AC 120 ms
106,828 KB
testcase_13 AC 119 ms
106,508 KB
testcase_14 AC 119 ms
106,844 KB
testcase_15 AC 119 ms
106,888 KB
testcase_16 AC 74 ms
76,444 KB
testcase_17 AC 69 ms
70,916 KB
testcase_18 AC 80 ms
79,536 KB
testcase_19 AC 76 ms
76,088 KB
testcase_20 AC 84 ms
81,576 KB
testcase_21 AC 77 ms
76,804 KB
testcase_22 AC 70 ms
71,436 KB
testcase_23 AC 76 ms
76,416 KB
testcase_24 AC 76 ms
76,388 KB
testcase_25 AC 77 ms
76,560 KB
testcase_26 AC 80 ms
78,464 KB
testcase_27 AC 82 ms
80,732 KB
testcase_28 AC 125 ms
100,020 KB
testcase_29 AC 87 ms
84,296 KB
testcase_30 AC 87 ms
83,124 KB
testcase_31 AC 115 ms
102,100 KB
testcase_32 AC 98 ms
91,268 KB
testcase_33 AC 107 ms
98,348 KB
testcase_34 AC 124 ms
99,900 KB
testcase_35 AC 103 ms
95,820 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