This problem is in Contest(s) below:
Contest 6487:AK编程菜鸟班26暑假测试(1)