This problem is in Contest(s) below:
Contest 1110:0505迭代算法
Contest 1185:0708迭代算法
Contest 1240:迭代算法