complete 2098.py 5052.py 14425*.py 14725.py & add 13505.py
This commit is contained in:
8
zeta_python/completed/14425.py
Normal file
8
zeta_python/completed/14425.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import sys
|
||||
|
||||
input = sys.stdin.readline
|
||||
|
||||
if __name__ == "__main__":
|
||||
N, M = map(int, input().split())
|
||||
S = {input().rstrip() for _ in range(N)}
|
||||
print(sum(1 for _ in range(M) if input().rstrip() in S))
|
||||
Reference in New Issue
Block a user