<?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://csacademy.com/contest/round-60/task/card-groups/N枚のカードがある。 i番目のカードは赤面にA[i], 青面にB[i]が書かれている。 N枚のカードをそれぞれ赤・青にした時に、赤の数の合計と青の数の合計を同じにしたい。 もし幾つか、組合せがある場合には、赤の枚数と青の枚数の差を最小化して実現したい。 どのように選べばいいかを文字列Sで出力せよ。 S[i] := i番目のカードが赤なら'0', 青なら'1' 実現不可能なら&quot;-1&quot;</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2017%2F12%2F07%2F025239&quot; title=&quot;Card Groups [CSAcademy #60 D] - はまやんはまやんはまやん&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-12-07 02:52:39</published>
  <title>Card Groups [CSAcademy #60 D]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2017/12/07/025239</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
