You are viewing a single comment's thread. Return to all comments →
import re S, W = "\n".join([input() for _ in range(int(input()))]), [r"%s[zs]e" % input()[:-2] for _ in range(int(input()))] print(*[len(re.findall(x, S)) for x in W], sep="\n")
Seems like cookies are disabled on this browser, please enable them to open this website
The British and American Style of Spelling
You are viewing a single comment's thread. Return to all comments →