USACO 2018 December Contest Bronze Problem3 Back and Forth
Farmer John has two milking barns, each of which has a large milk tank as well as a storage closet containing buckets of various sizes. He likes to carry milk back and forth between the two barns a...