Rosetta Problems

纸箱堆叠

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