This problem is in Contest(s) below:
Contest 1651:24暑期信奥编程入门集训6