結果

問題 No.1808 Fullgold Alchemist
ユーザー meruuu61779999meruuu61779999
提出日時 2022-01-15 18:08:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 185 bytes
コンパイル時間 267 ms
コンパイル使用メモリ 82,088 KB
実行使用メモリ 112,012 KB
最終ジャッジ日時 2024-05-01 15:53:35
合計ジャッジ時間 4,506 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
51,968 KB
testcase_01 AC 41 ms
52,096 KB
testcase_02 AC 41 ms
52,224 KB
testcase_03 AC 41 ms
52,352 KB
testcase_04 AC 42 ms
51,968 KB
testcase_05 AC 96 ms
101,248 KB
testcase_06 AC 111 ms
111,248 KB
testcase_07 AC 108 ms
110,996 KB
testcase_08 AC 118 ms
102,628 KB
testcase_09 AC 115 ms
102,308 KB
testcase_10 AC 120 ms
102,624 KB
testcase_11 AC 115 ms
102,424 KB
testcase_12 AC 106 ms
111,880 KB
testcase_13 AC 107 ms
112,012 KB
testcase_14 AC 108 ms
111,476 KB
testcase_15 AC 106 ms
111,420 KB
testcase_16 AC 49 ms
61,464 KB
testcase_17 AC 41 ms
52,480 KB
testcase_18 AC 56 ms
68,224 KB
testcase_19 AC 51 ms
60,672 KB
testcase_20 AC 61 ms
71,936 KB
testcase_21 AC 51 ms
64,512 KB
testcase_22 AC 41 ms
52,096 KB
testcase_23 AC 52 ms
63,360 KB
testcase_24 AC 50 ms
61,184 KB
testcase_25 AC 52 ms
61,184 KB
testcase_26 AC 58 ms
67,584 KB
testcase_27 AC 60 ms
71,040 KB
testcase_28 AC 103 ms
107,492 KB
testcase_29 AC 64 ms
77,348 KB
testcase_30 AC 63 ms
75,520 KB
testcase_31 AC 101 ms
105,344 KB
testcase_32 AC 75 ms
88,312 KB
testcase_33 AC 94 ms
101,728 KB
testcase_34 AC 103 ms
107,452 KB
testcase_35 AC 82 ms
96,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
A=list(map(int,input().split()))

B=[0]*N
B[0]=A[0]
for i in range(1,N):
    B[i]=B[i-1]+A[i]
for j in range(N):
    B[j]/=j+1
ans=min(B)//M
print(int(ans))
0