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