2023-12-01 15:31:20 +00:00
|
|
|
import matrix
|
|
|
|
import shared
|
|
|
|
import itertools
|
|
|
|
import functools
|
|
|
|
|
2023-12-08 18:42:42 +00:00
|
|
|
|
2023-12-01 15:31:20 +00:00
|
|
|
# @shared.profile
|
|
|
|
def part1(rows):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
# @shared.profile
|
|
|
|
def part2(rows):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
rows = [row for row in shared.load_rows(15)]
|
|
|
|
with shared.elapsed_timer() as elapsed:
|
|
|
|
part1(rows)
|
|
|
|
print("🕒", elapsed())
|
2023-12-03 04:12:04 +00:00
|
|
|
|
2023-12-08 18:42:42 +00:00
|
|
|
rows = [row for row in shared.load_rows(1, True)]
|
2023-12-01 15:31:20 +00:00
|
|
|
with shared.elapsed_timer() as elapsed:
|
|
|
|
part2(rows)
|
|
|
|
print("🕒", elapsed())
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|