Skip to content

Instantly share code, notes, and snippets.

def load_case():
year_num = int(input())
years = []
year_dict = {}
for _ in range(year_num):
year = [int(x) for x in input().split(" ")]
year_dict[year[0]] = year[1]
test_num = int(input())
tests = []
for _ in range(test_num):