{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"给定 $n$ 个点 $m$ 条边的有向图,求有多少个点是可以被其他所有点都到达的点。"}},{"title":"Input","value":{"format":"MD","content":"第一行两个整数 $n,m$。\n\n接下来 $m$ 行每行两个整数 $x,y$,表示 $x$ 与 $y$ 有一条有向边。"}},{"title":"Output","value":{"format":"MD","content":"一行一个正整数,表示答案。"}},{"title":"Sample","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3 3\n1 2\n2 1\n2 3\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e1\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Hint","value":{"format":"MD","content":"只有 $3$ 能被所有点到达。"}},{"title":"Ads","value":{"format":"MD","content":"翻译:XiaoQuQu。\n\n推荐一手自己的小 OJ:zshfoj.com"}}]}