Rosetta Problems

粉刷栅栏柱

https://www.acwing.com/problem/content/5590