<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kyuridenamida</author_name>
  <author_url>https://blog.hatena.ne.jp/kyuridenamida/</author_url>
  <blog_title>kyuridenamidaのブログ</blog_title>
  <blog_url>https://kyuridenamida.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>404 Not Found まあ、分からないからJOIの解説見ちゃうよね。逆から見るって発想は無かった。 にしても、解法分かったところでAOJのメモリ制約がキツいのは変わらないので、強引な改善をしながら解きました。 とりあえず辿った家の数が19(適当な定数)未満ならメモ化する。 これでやっと通った。 #include &lt;iostream&gt; #include &lt;vector&gt; #include &lt;cstdio&gt; #include &lt;map&gt; using namespace std; #define rep(i,n) for(int i=0;i&lt;n;i++) #define END (64) #d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkyuridenamida.hatenablog.com%2Fentry%2F2011%2F03%2F27%2F172454&quot; title=&quot;AOJ Problem 0548 : Reindeer with no sense of direction - kyuridenamidaのブログ&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-03-27 17:24:54</published>
  <title>AOJ Problem 0548 : Reindeer with no sense of direction</title>
  <type>rich</type>
  <url>https://kyuridenamida.hatenablog.com/entry/2011/03/27/172454</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
