This problem is in Contest(s) below:
Contest 2470:(AK张老师)爆破组 双重循环