<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>parukii</author_name>
  <author_url>https://blog.hatena.ne.jp/parukii/</author_url>
  <blog_title>parukiのブログ</blog_title>
  <blog_url>https://par.hateblo.jp/</blog_url>
  <categories>
    <anon>ゼータ変換</anon>
    <anon>メビウス変換</anon>
  </categories>
  <description>フレンズの数K&lt;=20なので、O(K2 * K)みたいな計算量で解けそう。 とりあえず自明に求まるものを求めてみる。 任意のフレンズの集合に対してそのフレンズのいるところを必ず通る経路をすべて求める。フレンズの位置の集合をSとする。Sのすべての要素をa[i]&lt;=a[j]かつb[i]&lt;=b[j]ならばi, jという順に並び変えられるならば、Sのすべてを通る経路がある。そうでなければ経路の数は0。 この経路の求め方を考えてみる。これは簡単で、Sの要素をたとえばi1,i2,i3としてこの順に並び変えられた時 (0, 0) =&gt; (a[i1], b[i1]) =&gt; (a[i2], b[i2]) =&gt; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpar.hateblo.jp%2Fentry%2F2019%2F01%2F25%2F174249&quot; title=&quot;No.767 配られたジャパリまん - yukicoder - parukiのブログ&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-01-25 17:42:49</published>
  <title>No.767 配られたジャパリまん - yukicoder</title>
  <type>rich</type>
  <url>https://par.hateblo.jp/entry/2019/01/25/174249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
