<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>whileD</author_name>
  <author_url>https://blog.hatena.ne.jp/whileD/</author_url>
  <blog_title>whileD'iary</blog_title>
  <blog_url>https://whiled.hatenablog.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
    <anon>C++</anon>
  </categories>
  <description>C - たくさんの数式 / Many Formulas をやってて、bitで組み合わせの全探索できるなみたな感じには思えたけど実装がわからなかったので覚え書き程度に書く。 bit全探索 ビットを仕切りに見立てて、ビットを全探索することで部分集合などを求める探索 今回の場合ようは、 1234567 という文字列があったとき 000110 というビットを用いて 1234|5|67 のように分割されているとみなすことができる。 計算量は2n コード 以下提出したコード #include &lt;iostream&gt; #include &lt;vector&gt; #include &lt;cmath&gt; #include &lt;a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwhiled.hatenablog.com%2Fentry%2F2018%2F02%2F22%2F022157&quot; title=&quot;bit全探索 - whileD&amp;#39;iary&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>2018-02-22 02:21:57</published>
  <title>bit全探索</title>
  <type>rich</type>
  <url>https://whiled.hatenablog.com/entry/2018/02/22/022157</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
