This problem is in Contest(s) below:
Contest 1167:软件15级数组作业(二)
Contest 1425:计科1706-1707期中考试(测试)