<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a_kawashiro</author_name>
  <author_url>https://blog.hatena.ne.jp/a_kawashiro/</author_url>
  <blog_title>a_kawashiroのブログ</blog_title>
  <blog_url>https://a-kawashiro.hatenablog.com/</blog_url>
  <categories>
    <anon>topcoder</anon>
  </categories>
  <description>久しぶりに１発で通した。 4000*4000のメモリーは確保できないのでうまいこと節約しませう。 #include &lt;algorithm&gt; using namespace std; class MarblesInABag { public: double DP[2][4000+1]; double getProbability(int redCount, int blueCount) { for(int R=0;R&lt;=redCount;R++) for(int B=0;B&lt;=blueCount;B++) { if((R+B)%2==0) continue; if(R==0) DP[R%2][B…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110401%2F1301633946&quot; title=&quot;SRM408 div2 hard - a_kawashiroのブログ&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>2011-04-01 13:59:06</published>
  <title>SRM408 div2 hard</title>
  <type>rich</type>
  <url>https://a-kawashiro.hatenablog.com/entry/20110401/1301633946</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
