This problem is in Contest(s) below:
Contest 1174:周日零基础第十三次6.10
Contest 1173:周五零基础第十三次6.8
Contest 1194:信奥编程之路~第二关古丽