This problem is in Contest(s) below:
Contest 1094:2022长训班提高\silver级别练习题