This problem is in Contest(s) below:
Contest 2394:柯灵一班复合条件
Contest 2396:柯灵提高B班