This problem is in Contest(s) below:
Contest 2444:(AK张老师)尖刀班 vector 练习
Contest 2437:柯灵 B 班 初识数组