USACO 2020 US Open Contest, Gold Problem 3. Exercise
USACO 2020 US Open Contest, Gold Problem 3. Exercise Farmer John has come up with a new morning exercise routine for the cows (again)! As before, Farmer John's NN cows (1≤N≤1041≤N≤104) are standing...