USACO January 2018 - MooTube Problem Statement In his spare time, Farmer John has created a new video-sharing service, which he names MooTube. On MooTube, Farmer John's cows can record, share, and discover many amusing videos. His cows already have posted N videos ( 1 ≤ N ≤ 100 , 000 ), conveniently numbered 1 … N . However, FJ can't quite figure out how to help his cows find new videos they might like. FJ wants to create a list of "suggested videos" for every MooTube video. This way, cows will be recommended the videos most relevant to the ones they already watch. FJ devises a metric of "relevance," which determines, as the name suggests, how relevant two videos are to each other. He picks N − 1 pairs of videos and manually computes their pairwise relevance. Then, FJ visualizes his videos as a network, where each video is a node and the N − 1 pairs of videos he manually considered are connected. Conveniently, FJ has picked his N...
Comments
Post a Comment