洛谷P3104 [USACO14MAR]数朋友Counting Friends
题目描述Farmer John's N cows (2 <= N <= 500) have joined the social network "MooBook".Each cow has one or more friends with whom they interact on MooBook. Just for fun, Farmer John makes a list of t...