<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Yoshichi</author_name>
  <author_url>https://blog.hatena.ne.jp/Yoshichi/</author_url>
  <blog_title>Yoshichiの日記</blog_title>
  <blog_url>https://yoshichi9.hatenablog.com/</blog_url>
  <categories>
    <anon>Codeforces</anon>
  </categories>
  <description>問題概要 Problem - B - Codeforces数列aが渡される。 1≤i,j≤nとしたとき、 k*|i−j|≤min(ai,aj)を満たすkを答えよ 解法 k = ai / max(i, n- i)を全て試せばよい。例えば、Nを9としたとき |i-j|の最大値は数列aiから 0 1 2 3 4 5 6 7 8 (要素)と並べたとき 8 7 6 5 4 5 6 7 8 (各要素の|i-j|の最大) となる。 aiは、その都度、|i-j|の最大値で割るため aiが最小だろうがなかろうが全て試すため気にしなくてよい。 #include&lt;bits/stdc++.h&gt; using names…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshichi9.hatenablog.com%2Fentry%2F2019%2F05%2F14%2F000531&quot; title=&quot;Codeforces Round #559 (Div. 2) - B. Expansion coefficient of the array - Yoshichiの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-14 00:05:31</published>
  <title>Codeforces Round #559 (Div. 2) - B. Expansion coefficient of the array</title>
  <type>rich</type>
  <url>https://yoshichi9.hatenablog.com/entry/2019/05/14/000531</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
