diff options
Diffstat (limited to 'solutions/py/d07.py')
| -rw-r--r-- | solutions/py/d07.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/solutions/py/d07.py b/solutions/py/d07.py index e12d7c9..c39e811 100644 --- a/solutions/py/d07.py +++ b/solutions/py/d07.py @@ -68,3 +68,11 @@ def pt2(input): highest_signal = signal highest_sequence = phase_seq return (highest_sequence, highest_signal) + +if __name__ == "__main__": + import cProfile + + input = open("../input/07", "r").readlines() + pt1(input) + cProfile.run("pt1(input)") + cProfile.run("pt2(input)") |
