<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://community.topcoder.com/stat?c=problem_statement&amp;pm=14597&amp;rd=16929 問題概要 N個のランプがあり、on/offのどちらかの状態をとる。 最初はinitの状態になっている。 ここから、K回以下の操作を繰り返す時に最終的にランプが取りうる状態数は何通りか。1. 連続する4つのランプを選ぶが、少なくとも1つがonか少なくとも1つがoffで無ければならない 2. この4つのランプの中心を分割点として、N個のランプ全体を前半・後半の2つに分ける 3. 前半・後半のどちらかを選ぶ 4. 選んだ方を反転させる</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2017%2F05%2F21%2F213235&quot; title=&quot;FourLamps [TopCoderOpen 2017 Round2A Div1 Hard] - はまやんはまやんはまやん&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>2017-05-21 21:32:35</published>
  <title>FourLamps [TopCoderOpen 2017 Round2A Div1 Hard]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2017/05/21/213235</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
