{"author_url":"https://blog.hatena.ne.jp/yarb/","height":"190","description":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30fb\u30aa\u30a4\u30e9\u30fc\u306e15\u554f\u76ee\u3002\u4ee5\u4e0b\u306e2x2\u306e\u30b0\u30ea\u30c3\u30c9\u3092\u5de6\u4e0a\u304b\u3089\u53f3\u4e0b\u306b\u306a\u305e\u308b\u3068\u304d\u30016\u3064\u306e\u30eb\u30fc\u30c8\u304c\u3042\u308b\u300220x20\u306e\u30b0\u30ea\u30c3\u30c9\u3067\u306f\u30eb\u30fc\u30c8\u306f\u4f55\u901a\u308a\u304b\u3002\u6700\u521d\u306bRuby\u3067\u66f8\u3044\u3066\u307f\u305f\u3002\u78ba\u8a8d\u306e\u305f\u3081\u306b\u7d4c\u8def\u3092\u914d\u5217\u306b\u6b8b\u3057\u3064\u3064\u3002 WIDTH, HEIGHT = 2,2 $count = 0 def step_forward (path, x, y) if (x < WIDTH && y < HEIGHT) then tmp = path.dup tmp2 = path.dup step_forward(tmp << [x + 1, y], x + 1, y) step_forward(tmp2 << [x, y \u2026","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yarb/20100201/20100201171720.gif","url":"https://yarb.hatenadiary.org/entry/20100201/p1","width":"100%","categories":["algorithm"],"blog_title":"yarb\u306e\u65e5\u8a18","published":"2010-02-01 00:00:00","blog_url":"https://yarb.hatenadiary.org/","version":"1.0","title":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30fb\u30aa\u30a4\u30e9\u30fc15\u554f\u76ee","provider_url":"https://hatena.blog","author_name":"yarb","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyarb.hatenadiary.org%2Fentry%2F20100201%2Fp1\" title=\"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30fb\u30aa\u30a4\u30e9\u30fc15\u554f\u76ee - yarb\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","type":"rich"}