I've Been Everywhere, Man
This commit is contained in:
10
everywhere.py
Normal file
10
everywhere.py
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
t = int(input())
|
||||||
|
|
||||||
|
for ti in range(t):
|
||||||
|
n = int(input())
|
||||||
|
cities = set()
|
||||||
|
|
||||||
|
for ni in range(n):
|
||||||
|
cities.add(input().strip())
|
||||||
|
|
||||||
|
print(len(cities))
|
||||||
Reference in New Issue
Block a user