大佬能帮忙看一下第一道题我这样子写哪里有问题吗? n, m = [int(i) for i in input().split()] S = input() s = input() ans = 0 for i in range(0, len(S)-len(s)+1): j = 0 while j < len(s) and (S[i+j] == s[j]&nbs***bsp;s[j] == '*&(30972)#39;): j += 1 if j >= len(s): # print(S[i:i+j]) ans += 1 print(ans)