摘要: Popular CowsTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 20472Accepted: 8316DescriptionEvery cow's dream is to become the most popular cow in the herd. In a herd of N (1 1,即有cow认为 no cow is popular,所以答案为0;否则出度为0的强连通分量为1,因为至少有一个点,则答案为该强连通分量的点数,证明如下: 1.因为仅该强连通分量为0表明其它强连通分量所有点间接/直接地指向该强 阅读全文
posted @ 2013-08-23 01:38 Ramanujan 阅读(251) 评论(0) 推荐(0) 编辑