def main(): input = [] with open('day18_input.txt') as f: for line in f: input.append(line.strip()) print("Part 1:", timed(part1, input)) print("Part 2:", timed(part2, input))
def main(): input = [] length = 25 with open('day9_input.txt') as f: for line in f: input.append(int(line.strip())) print("Part 1:", timed(part1, (input, length))) print("Part 2:", timed(part2, (input, length)))
def main(): input = open('day19_input.txt').read() print("Part 1:", timed(part1, input)) print("Part 2:", timed(part2, input))
def main(): with open('day23_input.txt') as f: input = f.readline() print("Part 1:", timed(part1, input)) print("Part 2:", timed(part2, input))
def main(): with open('day6_input.txt') as f: input = f.read() input = input.split('\n\n') print("Part 1:", timed(part1, input)) print("Part 2:", timed(part2, input))
def main(): input = [] with open('day16_input.txt') as f: input = f.read() print("Part 1:", timed(part1, input)) print("Part 2:", timed(part2, input))