This problem is in Contest(s) below:
Contest 1210:1218区赛真题练习3
Contest 1266:ss十一月竞赛组