<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nishiohirokazu</author_name>
  <author_url>https://blog.hatena.ne.jp/nishiohirokazu/</author_url>
  <blog_title>西尾泰和のはてなダイアリー</blog_title>
  <blog_url>https://nishiohirokazu.hatenadiary.org/</blog_url>
  <categories>
    <anon>最中限</anon>
  </categories>
  <description>id:Voluntasに出された宿題。最中限を読み切るのにかかるコストを計算する。最終ラウンド、自分の手札は5枚、そしてまだオープンされていないカードが11枚ある。自分の手の出し方が 5P3 通り。自分以外の手の出し方が 11P6通り。 &gt;&gt;&gt; def p(n, m): ... result = 1 ... for i in range(m): ... result *= n ... n -= 1 ... return result ... &gt;&gt;&gt; p(5, 3) 60 &gt;&gt;&gt; p(11, 6) 332640 &gt;&gt;&gt; _ * 60 19958400 よって最初のターンで「最終ラウンドに出されう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20081004%2F1223134651&quot; title=&quot;読み切りコスト - 西尾泰和のはてなダイアリー&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>2008-10-04 00:37:31</published>
  <title>読み切りコスト</title>
  <type>rich</type>
  <url>https://nishiohirokazu.hatenadiary.org/entry/20081004/1223134651</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
