USACO 2022 January Contest, Silver Problem 1. Searching for Soulmates
USACO 2022 January Contest, Silver Problem 1. Searching for Soulmates Farmer John's cows each want to find their soulmate -- another cow with similar characteristics with whom they are maximally co...