<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ita</author_name>
  <author_url>https://blog.hatena.ne.jp/ita/</author_url>
  <blog_title>ita’s diary</blog_title>
  <blog_url>https://ita.hatenadiary.jp/</blog_url>
  <categories>
    <anon>理系ネタ</anon>
    <anon>J</anon>
  </categories>
  <description>麻雀の待ち判定アルゴリズム。 http://www.itmedia.co.jp/enterprise/articles/1004/03/news002.html 実は以前考えたことある*1 愚直な場合わけをしてたけど、再帰で書き直したらすっきりした。 OpenSourceコミュニティに貢献するという想定で英語でコメント＆変数名を書いてある。コアとなる判定ルーチンは以下だけ // Check if given hand has one pair plus (4-ntriplet) triplets // May call itself recursively. // // input: // H…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fita.hatenadiary.jp%2Fentry%2F20100408%2Fp1&quot; title=&quot; 再帰に思い至らなかった不覚 - ita’s diary&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-08 00:00:00</published>
  <title> 再帰に思い至らなかった不覚</title>
  <type>rich</type>
  <url>https://ita.hatenadiary.jp/entry/20100408/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
