<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>AtCoder400点</anon>
    <anon>ABC-D</anon>
    <anon>茶色diff</anon>
    <anon>考察：区間ごとに分割して考える</anon>
    <anon>ランレングス圧縮</anon>
    <anon>&gt;&lt;</anon>
    <anon>収束性に着目する</anon>
    <anon>考察：パリティに着目する</anon>
    <anon>周期性に着目する</anon>
    <anon>各kに対して</anon>
    <anon>ダブリング</anon>
    <anon>操作後の結果を求める問題</anon>
    <anon>NoviSteps2Q</anon>
    <anon>考察：操作・条件・目的関数を言い換える</anon>
  </categories>
  <description>「大体こういう感じ」というところまではすぐに見えるけど、細かいところを詰めるのが大変な問題かもしれない。 問題へのリンク 問題概要 マスがあって、各マスには &quot;L&quot; または &quot;R&quot; が書かれている (左端は &quot;R&quot; で右端は &quot;L&quot; であることが保証される)。また初期状態では各マスに 1 人ずつ子どもがいる。今から以下の操作を 回実施する。 すべての子どもについて、現在自分のいるマスの文字が &quot;L&quot; の場合は左に移動し、&quot;R&quot; の場合は右に移動する 回実施後の、各マスの人数を求めよ。 制約 考えたこと (解法 (1)) こういう問題は、一瞬「ん！？」となるので、手を動かしてみると見えてくる。た…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2020%2F12%2F29%2F190100&quot; title=&quot;AtCoder ABC 136 D - Gathering Children (2Q, 茶色, 400 点) - けんちょんの競プロ精進記録&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://cdn.user.blog.st-hatena.com/default_entry_og_image/80936665/1516148889515660</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-29 19:01:00</published>
  <title>AtCoder ABC 136 D - Gathering Children (2Q, 茶色, 400 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2020/12/29/190100</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
