PAT (Top Level) Practise 1014 Circles of Friends (35)
1014.CirclesofFriends(35)时间限制1000ms内存限制65536kB代码长度限制8000B判题程序Standard作者CHEN,YueAcircleoffriendsisanetworkoffriendrelationships.IfAisafriendofB,thenBisconsideredafriendofAnomatterBadmitsornot,andtheyar