<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>landcelita</author_name>
  <author_url>https://blog.hatena.ne.jp/landcelita/</author_url>
  <blog_title>どせブログ</blog_title>
  <blog_url>https://landcelita.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>D - Lucky PIN 解説のおまけ問題にもあるが，100 x N程度の計算量で解くようなコードを生成できた…と思う。 が仮にというような数列だった場合，暗証番号の一桁目を全探索していくときに，2回目のについては見る必要がない。なぜなら，一回目のを一桁目とすると，暗証番号の二，三桁目の候補となるのはだが，二回目のを一桁目とすると，候補はとなり，明らかに一回目の全探索は二回目の全探索を含むからである。すなわち，一桁目の全探索時にからまでのbool型配列を作っておき，探索したことがある数字についてはフラグを立てて次は読み飛ばせば良い。この方針に従ってコードを書くと次のようになる： #defin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flandcelita.hatenadiary.com%2Fentry%2F2021%2F04%2F27%2F141923&quot; title=&quot;三井住友信託銀行プログラミングコンテスト2019の問題Dを100 x N程度の計算量で解く - どせブログ&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>2021-04-27 14:19:23</published>
  <title>三井住友信託銀行プログラミングコンテスト2019の問題Dを100 x N程度の計算量で解く</title>
  <type>rich</type>
  <url>https://landcelita.hatenadiary.com/entry/2021/04/27/141923</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
