結果
問題 |
No.1808 Fullgold Alchemist
|
ユーザー |
![]() |
提出日時 | 2022-01-17 20:45:40 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 169 bytes |
コンパイル時間 | 245 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 103,040 KB |
最終ジャッジ日時 | 2024-11-23 12:59:45 |
合計ジャッジ時間 | 4,309 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 WA * 21 |
ソースコード
n,m= map(int,input().split()) ns= list(map(int,input().split())) cnt=0 ans=10*12 for i in range(n): cnt+=ns[i] ans=min(ans,cnt//(m*(i+1))) print(ans)