This problem is in Contest(s) below:
Contest 3639:编程基础测试