This problem is in Contest(s) below:
Contest 1020:NOIP2017普及组真题