<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>d_tutuz</author_name>
  <author_url>https://blog.hatena.ne.jp/d_tutuz/</author_url>
  <blog_title>数学/競プロメモ</blog_title>
  <blog_url>https://tutuz.hateblo.jp/</blog_url>
  <categories>
    <anon>数え上げ</anon>
    <anon>bitDP</anon>
    <anon>動的計画法</anon>
  </categories>
  <description>問題 https://beta.atcoder.jp/contests/abc041/tasks/abc041_d N 頂点上のグラフに、M本の有向辺が与えられる。M本の有向辺の条件を満たし、N 個の頂点を左から右へ横一列に並べる並べ方は何通りか。 制約 2 &lt;= N &lt;= 16 1 &lt;= M &lt;= N(N-1)/2 考え方 トポロジカルソートの数え上げ問題である。頂点集合を S としてDAG上の右から順序を確定していくこととする。 サンプル1を例に考える。 S = {1, 2, 3} である。 頂点集合 S をトポロジカルソートする並べ方を f(S) を表すこととする。空集合をトポロジカルソ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F07%2F19%2F234447&quot; title=&quot;ABC041-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>2018-07-19 23:44:47</published>
  <title>ABC041-D:徒競走</title>
  <type>rich</type>
  <url>https://tutuz.hateblo.jp/entry/2018/07/19/234447</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
