-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday.py.sample
38 lines (30 loc) · 816 Bytes
/
day.py.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of Advent of Code 2020
# https://github.com/scorphus/advent-of-code-2020
# Licensed under the BSD-3-Clause license:
# https://opensource.org/licenses/BSD-3-Clause
# Copyright (c) 2020, Pablo S. Blum de Aguiar <[email protected]>
from aoc import integers
from aoc import integers_list
from aoc import strip
from aoc import strip_list
from functools import cache
from pprint import pprint
import collections
import graphlib
import heapq
import itertools
import math
def part1(lines):
# lines = list(lines)
# lines = integers(lines)
# lines = integers_list(lines)
# lines = strip(lines)
# lines = strip_list(lines)
for line in lines:
line = line.rstrip("\n")
pass
return
def part2(lines):
return