USACO 2020 January Contest, Bronze Problem 2. Photoshoot
USACO 2020 January Contest, Bronze Problem 2. Photoshoot Farmer John is lining up his?NN?cows (2≤N≤1032≤N≤103), numbered?1…N1…N, for a photoshoot. FJ initially planned for the?ii-th cow from the le...