This problem is in Contest(s) below:
Contest 4696:Ak张老师 入门二班 双重枚举 课堂练习