def main(): prob_input = fetch_input('day7-input.txt') # Naive implementation bag_list = parse_input_naive(prob_input) test_bag_list = parse_input_naive(test_input().split('\n')) print("part 1 solution is {}".format(part1(bag_list))) print("part 1 solution is {}".format(part2(bag_list)))
def main(): prob_input = fetch_input(_file) ti = test_input().split('\n') print("part 1 solution is {}".format(part1(prob_input))) print("part 2 naive solution is {}".format(part2_naive(prob_input)))
def main(): parsed_inputs = fetch_input('day2-input.txt') print("part 1 solution: {}".format(part1(parsed_inputs))) print("part 2 solution proper: {}".format(part2(parsed_inputs)))
def main(): field_map = fetch_input('day3-input.txt') print("part 1 solution: {}".format(part1(field_map, right=3, down=1))) print("part 2 solution: {}".format(part2(field_map)))
def main(): seats_inputs = fetch_input('day5-input.txt') print("part 1 solution: {}".format(part1(seats_inputs))) print("part 2 solution: {}".format(part2(seats_inputs)))
def main(): parsed_inputs = [int(i) for i in fetch_input('day1-input.txt')] print("part 1 solution: {}".format(part1(parsed_inputs))) print("part 2 solution: {}".format(part2(parsed_inputs)))
def main(): prob_input = [int(i) for i in fetch_input(_file)] ti = [int(i) for i in test_input().split('\n')] print("part 1 solution is {}".format(part1(prob_input))) print("part 2 solution is {}".format(part2(prob_input)))