DescriptionNow and then you play the following game with your friend. Your friend writes down a sequence consisting of zeroes and ones. You choose a c... Read More
Silver Cow Party Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Silver Cow Party Silver Cow Party Description One cow from each Read More
题目链接:http://poj.org/problem?id=3660题意:有n头牛,m个关系,a b意思是a能打败b;求能确定排名的有几个;如果一头牛被x头牛打败,并且可以打败y头牛,如果x+y=n-1,则我们容易知道这头牛的排名就被确定了,所以我们只要将任一头牛,可以打败其他的牛的个数x, 和能... Read More