<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eukaryo</author_name>
  <author_url>https://blog.hatena.ne.jp/eukaryo/</author_url>
  <blog_title>ubiquitinブログ</blog_title>
  <blog_url>https://eukaryote.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>ここで花札といっているのは一組48枚で、12か月折々の花とかが4枚ずつに書き込まれているあれのことです。全ての札を区別して扱うとして、それぞれの札に0~47の番号を割り振ると、札の有無をuint64_tで表すことができます。『手札にi番目の札がある⇔i番目のビットが立っている』みたいなやつです。花札には多くの遊び方がありますが、以降こいこいの話をします。 合法手生成 手札がuint64_t上でbitboard表現されているとして、以下のようなコードで手札を全列挙できます。わかりますね。 void func1(uint64_t hand) { for (unsigned long i = 0; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feukaryote.hateblo.jp%2Fentry%2F2019%2F12%2F25%2F153025&quot; title=&quot;花札のbitboard - ubiquitinブログ&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=2%5E%7B20%7D%2B2%5E%7B24%7D%2B2%5E%7B36%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-25 15:30:25</published>
  <title>花札のbitboard</title>
  <type>rich</type>
  <url>https://eukaryote.hateblo.jp/entry/2019/12/25/153025</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
