<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>b1u3</author_name>
  <author_url>https://blog.hatena.ne.jp/b1u3/</author_url>
  <blog_title>いろんなことで四苦Hack（仮）</blog_title>
  <blog_url>https://b1u3.hateblo.jp/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>出れなかったんだけど、AtCoderの解説動画が結構参考になったので、pythonで書く 数え上げ系すごく苦手なので、戒め兼補足。解説動画が少しわかりにくかったので。 問題概略。 ON/OFFスイッチが N 個と電球が M 個ある。それぞれのスイッチは複数の電球とランダムに接続されている。電球は、繋がっているスイッチのうちONになっているものの数が、偶奇どちらかの時(ランダム)、点灯する。それを決めるのは、P_i (1 ≦ i ≦ M)。全ての電球をつけるスイッチのパターンの数を求めよ。 解説では、bit全探索だった。N ≦ 10 なので、2 ^10 ≒ 10 ^3 なので十分。 まず、入力を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fb1u3.hateblo.jp%2Fentry%2F2019%2F05%2F28%2F111924&quot; title=&quot;ABC128 C Switches - いろんなことで四苦Hack（仮）&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>2019-05-28 11:19:24</published>
  <title>ABC128 C Switches</title>
  <type>rich</type>
  <url>https://b1u3.hateblo.jp/entry/2019/05/28/111924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
