10 lines
241 B
Python
10 lines
241 B
Python
|
|
test_cases = int(input())
|
|
for case in range(test_cases):
|
|
destinations = []
|
|
trips = int(input())
|
|
for t in range(trips):
|
|
trip = str(input())
|
|
if trip not in destinations:
|
|
destinations.append(trip)
|
|
print(len(destinations)) |