This problem is in Contest(s) below:
Contest 6684:AK张老师 语法提高A班 自定义函数 有返bool 函数
Contest 6580:基础B-第10课-课堂练习