N头牛,M条认可关系。关系(A,B)表示A认可B,认可关系有传递性。求被其他所有牛认可的牛数。
POJ 2186 Popular Cows 笔记
猜你喜欢
转载自blog.csdn.net/woniupengpeng/article/details/78173381
今日推荐
周排行