{"blog_url":"https://matarillo.hatenadiary.jp/","blog_title":"\u5e73\u3005\u6bce\u3005\uff08\u30a2\u30fc\u30ab\u30a4\u30d6\uff09","url":"https://matarillo.hatenadiary.jp/entry/2005/08/26/000000","published":"2005-08-26 00:00:00","author_name":"matarillo","categories":["tech"],"provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/matarillo/","type":"rich","title":"\u30d5\u30a3\u30b8\u30ab\u30eb","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmatarillo.hatenadiary.jp%2Fentry%2F2005%2F08%2F26%2F000000\" title=\"\u30d5\u30a3\u30b8\u30ab\u30eb - \u5e73\u3005\u6bce\u3005\uff08\u30a2\u30fc\u30ab\u30a4\u30d6\uff09\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","width":"100%","height":"190","description":"function PrintRect(x, y) { var posx = 0; var posy = 0; var x2 = x + x; var y2 = y + y; var m = 0; var n = x2 - y; for (var iy = 0; iy < y; iy++) { for (var ix = 0; ix < x; ix++) { if (ix == posx && iy == posy) { Print(\"x\"); posx++; m = m + y2; if (m >= n) { posy++; n = n + x2; } } else { Print(\"o\");\u2026"}