Rosetta Problems

梯形计数

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