This problem is in Contest(s) below:
Contest 1461:周日秋季信奥基础第九次~~~~~~~~作业
Contest 1318:ssk_2 循环&数组