Rosetta Problems

牛的学术圈 II

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