阅读背景:

POJ 2186 白书经典 强连通图分量(内附模板)

来源:互联网 

题目:https://vjudge.net/problem/POJ-2186

 

Every cow's dream is to become the most popular cow in the herd. In a herd of N (1 <= N <= 10,000) cows, you are given up to M (1 <= M <= 50,000) ordered pairs of the form (A, B) that tell you that cow A thinks that cow B is popular. Since popularity is transitive, if A thinks B is popular and B thinks C is popular, then A will also think that C is



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: