diff options
Diffstat (limited to 'solutions/py/d05.py')
| -rw-r--r-- | solutions/py/d05.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/solutions/py/d05.py b/solutions/py/d05.py index 446bcd6..1415b99 100644 --- a/solutions/py/d05.py +++ b/solutions/py/d05.py @@ -24,3 +24,11 @@ def pt2(input): c.output = None return output +if __name__ == "__main__": + import cProfile + + input = open("../input/05", "r").readlines() + cProfile.run("pt1(input)") + cProfile.run("pt2(input)") + print(pt1(input)) + print(pt2(input)) |
