This problem is in Contest(s) below:
Contest 1036:CSP-S合集(刷完可达一等奖水平)
Contest 1035:CSP-J普及组合集(刷完可达CSP-J一等奖水平)