This problem is in Contest(s) below:
Contest 1092:周日下午测试(终极)
Contest 1112:基础1班18号晚测试
Contest 2110:字符串练习
Contest 1651:字符练习