結果

問題 No.1808 Fullgold Alchemist
ユーザー ytftytft
提出日時 2022-02-12 22:45:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 356 ms
コンパイル使用メモリ 87,176 KB
実行使用メモリ 106,932 KB
最終ジャッジ日時 2023-09-11 11:19:50
合計ジャッジ時間 5,648 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,140 KB
testcase_01 AC 71 ms
71,168 KB
testcase_02 AC 71 ms
71,016 KB
testcase_03 AC 70 ms
71,008 KB
testcase_04 AC 71 ms
71,044 KB
testcase_05 AC 110 ms
104,276 KB
testcase_06 AC 118 ms
106,932 KB
testcase_07 AC 119 ms
106,908 KB
testcase_08 AC 131 ms
99,572 KB
testcase_09 AC 129 ms
99,264 KB
testcase_10 AC 131 ms
99,756 KB
testcase_11 AC 129 ms
100,320 KB
testcase_12 AC 120 ms
106,716 KB
testcase_13 AC 121 ms
106,524 KB
testcase_14 AC 118 ms
106,500 KB
testcase_15 AC 118 ms
106,572 KB
testcase_16 AC 78 ms
76,232 KB
testcase_17 AC 69 ms
71,032 KB
testcase_18 AC 81 ms
79,384 KB
testcase_19 AC 75 ms
76,160 KB
testcase_20 AC 85 ms
81,800 KB
testcase_21 AC 79 ms
76,500 KB
testcase_22 AC 72 ms
71,092 KB
testcase_23 AC 78 ms
75,844 KB
testcase_24 AC 79 ms
76,116 KB
testcase_25 AC 79 ms
76,104 KB
testcase_26 AC 83 ms
78,184 KB
testcase_27 AC 86 ms
80,560 KB
testcase_28 AC 126 ms
99,788 KB
testcase_29 AC 89 ms
84,512 KB
testcase_30 AC 89 ms
82,988 KB
testcase_31 AC 114 ms
101,588 KB
testcase_32 AC 99 ms
91,192 KB
testcase_33 AC 108 ms
98,040 KB
testcase_34 AC 128 ms
99,372 KB
testcase_35 AC 106 ms
95,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
A=list(map(int,input().split()))
ans=float('inf')
for i in range(1,N):
    A[i]+=A[i-1]
for i in range(N):
    ans=min(ans,A[i]//((i+1)*M))
print(ans)
0