This problem is in Contest(s) below:
Contest 1152:CSP培训班练习题(五)