<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>betrue12</author_name>
  <author_url>https://blog.hatena.ne.jp/betrue12/</author_url>
  <blog_title>ARMERIA</blog_title>
  <blog_url>https://betrue12.hateblo.jp/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>プログラミング</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>お題箱より。 Problem - D - Codeforces 問題概要 人の子供がいて の番号を持っている。以下の 個の操作についてそれぞれ、実行するかしないかを選ぶことができる。 区間 に属する子供に1個ずつキャンディを与える。 ここで整数 が与えられ、 個を超える操作区間に属する子供は存在しないことが保証される。 子供は奇数個のキャンディをもらうと嬉しくなる。操作を上手く選ぶことで嬉しい子供の人数を最大化したい。その最大人数を求めよ。 制約 解法 まず が大きいので、座標圧縮をします。このとき各区間を半開区間にして、その および全体の左端・右端を集めて座標圧縮をすると良いです。圧縮後の各…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2020%2F03%2F28%2F154204&quot; title=&quot;Codeforces Round #622 (Div. 2) D. Happy New Year - ARMERIA&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://chart.apis.google.com/chart?cht=tx&amp;chl=%20m</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-28 15:42:04</published>
  <title>Codeforces Round #622 (Div. 2) D. Happy New Year</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2020/03/28/154204</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
