#abc287b. [abc287_b]Postal Card

[abc287_b]Postal Card

给定 nn 个数字串和 mm 个长度为 33 的数字串,对于每一个数字串,求它的后三位是否在 mm 个串中出现过,统计出现过的数字串个数。