<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>peroon</author_name>
  <author_url>https://blog.hatena.ne.jp/peroon/</author_url>
  <blog_title>perogram</blog_title>
  <blog_url>https://perogram.hateblo.jp/</blog_url>
  <categories>
    <anon>1500</anon>
  </categories>
  <description>Quiz https://codeforces.com/problemset/problem/770/C AC https://codeforces.com/contest/770/submission/100808711 解説 パット見でトポロジカルソートっぽい。サイクルを見つけたら-1にすればいいと思うのだがそれは罠で、不要な講義でサイクルができていてもそれは-1ではない トポロジカルソートっぽい時はdfsで解けることが多い 講義の依存関係をどちらかの方向で有効辺にする発想は普通で、今回はaを取った後にしかbが取れない時、b-&gt;aの方向に辺を貼る editorialの通り、不要なサイクルを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2020%2F12%2F10%2F151531&quot; title=&quot;C. Online Courses In BSU ～3色dfs～ - perogram&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>2020-12-10 15:15:31</published>
  <title>C. Online Courses In BSU ～3色dfs～</title>
  <type>rich</type>
  <url>https://perogram.hateblo.jp/entry/2020/12/10/151531</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
