<?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://yukicoder.me/problems/no/904 解説 https://yukicoder.me/submissions/389278 難しい。 何もわからないが、Nが小さいのが気になる。 まず、わかることとして、Aの総和＝Bの総和であることは自明。 A1が決まると、Aの総和＝Bの総和なので、B1も一意に定まる。 A,Bの範囲もそんなに大きくないので、A1は全探索できそう。 そのためのNの小ささか。 どういうパターンでダメかという部分だが、 Bの総和 - B[i] &lt; A[i] こうなっていると、i番目に入った人がi番目で出るしかなくなってしまうのでダメ。 こうなってい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F10%2F12%2F105300_1&quot; title=&quot;サメトロ [yukicoder 904] - はまやんはまやんはまやん&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>2019-10-12 10:53:00</published>
  <title>サメトロ [yukicoder 904]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/10/12/105300_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
