This problem is in Contest(s) below:
Contest 1030:入门组(三)