<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pyhaya</author_name>
  <author_url>https://blog.hatena.ne.jp/pyhaya/</author_url>
  <blog_title>pyhaya’s diary</blog_title>
  <blog_url>https://pyhaya.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>久しくブログを更新していなかった気がするので、AtCoder の過去問を解いた記録でも書いてみる。AtCoder Beginners Contest (通称 ABC) 128 の C 問題を解いてみたら再帰関数の良い練習になったのでこれを紹介します。 解答環境 解く方針 コード Step 1 Step 2 Step 3 全体のコード 問題文は下のリンクを参照。atcoder.jp 解答環境 Ubuntu 20.04 LTS C++14 解く方針 問題文を読んで最初に思ったのが、変数が多いということ。N がスイッチの数で M が電球の数、k が各電球につながっているスイッチの数で、sが各電球につ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpyhaya.hatenablog.com%2Fentry%2F2020%2F06%2F14%2F155751&quot; title=&quot;AtCoder Beginners Contest 128 C. Switches を解いたのでメモ - pyhaya’s diary&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>https://m.media-amazon.com/images/I/41oruV+aJIL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-14 15:57:51</published>
  <title>AtCoder Beginners Contest 128 C. Switches を解いたのでメモ</title>
  <type>rich</type>
  <url>https://pyhaya.hatenablog.com/entry/2020/06/14/155751</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
