USACO Gold 2019 February - Painting the Barn
Authors: Kevin Sheng, KJ Karaisz
Warning: Prior Knowledge
This editorial assumes one already has a firm grasp of the silver version of this problem.
Hint 1
Hint 2
Answer to Hint 2
Solution
Join the USACO Forum!
Stuck on a problem, or don't understand a module? Join the USACO Forum and get help from other competitive programmers!