摘要:
Popular CowsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 15043 Accepted: 5959DescriptionEvery 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
阅读全文