This problem is in Contest(s) below:
Contest 5240:AK张老师 入门B班 for 专题训练
Contest 5186:AK张老师 入门D班 穷举课堂练习