This problem is in Contest(s) below:
Contest 1920:七、八年级基础算法复习题目