<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>N要素の以下のルールを満たす配列を構築せよ 全ての要素が異なる 0～10^9の数から成る 10で割り切れる数はダメ 全ての2つの要素を取ってきて和をとったときの最下位の桁を集計したときに、dが最も多くなる（タイはダメ） n≦200, d≦9 解説 d=5のときを考えてみると、最下位が2と3の数があればいい。 最も2+3となる組み合わせが多いのは、n要素をちょうど2つに分けて、片方を2、もう片方を3とすればいい。 これを10で割り切れないよう、全ての要素が異なるように気をつけて実装する。 以下の実装は丁寧にやりすぎた例かもしれない。 floor(d/2)とceil(d/2)を使うが、d≦1のとき…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F20%2F024329&quot; title=&quot;MostFrequentLastDigit [SRM747 Div1 Easy] - はまやんはまやんはまやん&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-01-20 02:43:29</published>
  <title>MostFrequentLastDigit [SRM747 Div1 Easy]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/20/024329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
