<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>UVa</anon>
  </categories>
  <description>問題 http://uva.onlinejudge.org/external/4/435.html概要 党が連立したとき全体で過半数の投票数を獲得すると、その連合した党は選挙に勝つことが出来る。ここで各党に対して投票数でない新たな強さの指標 power index を考える。power index とは、あとひとつ多くの党と連合したら過半数の人数を超えるという場合の数を指す。各党について power index を求めよ。解法 2^20 のビット全探索をして数え上げる。dfs で実装するのはきつい。 連合している党の集合に対して、その人数の合計を持つ配列を持つ。 その中から、連合している党は過…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140417%2F1397701526&quot; title=&quot;UVa435 Block Voting - Logfiles&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>2014-04-17 11:25:26</published>
  <title>UVa435 Block Voting</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140417/1397701526</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
