Moved kattis from Uni repo

This commit is contained in:
2023-12-01 13:35:13 +01:00
parent 28a6b807a3
commit aaa2c123b8
164 changed files with 3008 additions and 0 deletions

View File

@ -0,0 +1,13 @@
2
7
saskatoon
toronto
winnipeg
toronto
vancouver
saskatoon
toronto
3
edmonton
edmonton
edmonton

View File

@ -0,0 +1,10 @@
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))