This problem is in Contest(s) below:
Contest 100000574:《算法笔记》2.10小节——C/C++快速入门->黑盒测试