This problem is in Contest(s) below:
Contest 5343:AK张老师 入门A班 穷举法课堂练习
Contest 5354:Ak张老师 入门B班 穷举法 课堂练习