<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>laynts</author_name>
  <author_url>https://blog.hatena.ne.jp/laynts/</author_url>
  <blog_title>よく寝てちょっと食べる</blog_title>
  <blog_url>https://laynts.hatenadiary.org/</blog_url>
  <categories>
    <anon>AOJ</anon>
    <anon>幅優先探索</anon>
  </categories>
  <description>AOJ 0121 Seven Gameまずは前回、前々回の問題に引き続きただただ幅優先探索をしようと思ってコードを書き上げた。 サンプルデータをぶち込んでみて、特に問題無さそうだったので、Submitしてみると、見事Time Limit Exceeded。時間オーバー。毎回毎回探索していることで、多くのデータを通す時には時間がかかってしまい、TLEを食らってしまうらしい。どうにかできないものかと思って、逆方向から探索をしてみることにしました。 つまりどういうことかというと、完成形である&quot;01234567&quot;の状態から遷移できる、全状態への最短手順を幅優先探索を用いて出してしまおうというもの。 一…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flaynts.hatenadiary.org%2Fentry%2F20111022%2F1319298490&quot; title=&quot;AOJ 0121 Seven Game - よく寝てちょっと食べる&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>2011-10-22 00:48:10</published>
  <title>AOJ 0121 Seven Game</title>
  <type>rich</type>
  <url>https://laynts.hatenadiary.org/entry/20111022/1319298490</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
