This problem is in Contest(s) below:
Contest 1322:2024春周六晚c++c1