This problem is in Contest(s) below:
Contest 1253:【课堂练习】4-1 串的模式匹配(物联网22-1/2)