This problem is in Contest(s) below:
Contest 1209:1206结构体专题训练2
Contest 1237:1014队内测试3