<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>bfs</anon>
  </categories>
  <description>問題 問題概要 省略。 解法 エラトステネスをイメージしてやった。アルゴリズムは幅優先探索を利用している。queueにスタート時点の1をいれて、そのあとは、2進数にした時の1の数によって、両側に動いた場所を調べている。幅優先探索で調べると、移動が少ないところこから順番に調べられるので、一度訪れた場所はそのあとは考えなくていいので(はじめに訪れたやつが最小の移動数)、一度訪れた場所はqueueに入れないことにする。そのようにすると、queueが空になった時には、おとずれることができるすべての場所を訪れたことになるので、判定が可能である。 ミス 最小値を選択して入れる操作を忘れていて、大きな値でk…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F07%2F16%2F152510&quot; title=&quot;yukicoder No.3 ビットすごろく - srupのメモ帳&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>2016-07-16 15:25:10</published>
  <title>yukicoder No.3 ビットすごろく</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/07/16/152510</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
