This problem is in Contest(s) below:
Contest 5490:北海基础班 打擂台 家庭作业