Rosetta Problems

Strongly Connected Components (Incremental)

https://judge.yosupo.jp/problem/incremental_scc