This problem is in Contest(s) below:
Contest 1446:行之中学基础提高班4-16网课(递归)
Contest 1699:数据结构基础final game
Contest 1454:行之中学5-21基础提高班练习
Contest 1975:语法提高-函数-(2)递归函数