This problem is in Contest(s) below:
Contest 1031:ACM多校训练第十场
Contest 1025:这是什么比赛?
Contest 1026:XDU-ACM 2016 Final Summer Training Contest