P5180 【模板】支配树
题目背景
模板题,无背景。
题目描述
给定一张有向图,求从 $1$ 号点出发,每个点能支配的点的个数(包括自己)。
输入格式
无
输出格式
无
说明/提示
$n\le2\times 10^5$,$m\le3\times 10^5$。