This problem is in Contest(s) below:
Contest 1274:冲剌Noip2018之二