<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>keitanxkeitan</author_name>
  <author_url>https://blog.hatena.ne.jp/keitanxkeitan/</author_url>
  <blog_title>div1に上がりたいkeitanxkeitanの日記</blog_title>
  <blog_url>https://keitanxkeitan.hatenadiary.org/</blog_url>
  <categories>
    <anon>PKU</anon>
  </categories>
  <description>3050 Hopscotch概要 ５×５のマスに整数が書いてある。 適当なマスからスタートして４方好きな方向に５回移動する。 そのとき到達した６個のマスを順に並べてできる数は 何個あるか答える。 例えば、1→1→1→1→2→1と移動したら111121が得られる。方針 (4^5)*5*5だから全部やっても大丈夫な気がしたけどTLEもらったので、 メモ化探索してみる。set dfs(int r, int c, int ith)でr行c列からithステップの移動でできる数のセットを返す。 何度か同じ引数でdfs(r, c, ith)を呼び出すことになるので、返り値はmemo[r][c][ith]にと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkeitanxkeitan.hatenadiary.org%2Fentry%2F20100401%2F1270141576&quot; title=&quot;3050 Hopscotch - div1に上がりたいkeitanxkeitanの日記&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>2010-04-01 02:06:16</published>
  <title>3050 Hopscotch</title>
  <type>rich</type>
  <url>https://keitanxkeitan.hatenadiary.org/entry/20100401/1270141576</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
