USACO 2020 February Contest, Bronze Problem 3. Swapity Swap
USACO 2020 February Contest, Bronze Problem 3. Swapity Swap Farmer John's NN cows (1≤N≤1001≤N≤100) are standing in a line. The iith cow from the left has label ii, for each 1≤i≤N1≤i≤N. Farmer John ...