summaryrefslogtreecommitdiffstats
path: root/solutions/py/d07.py
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-12-09 07:33:51 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-12-09 09:20:10 +0100
commit16bf5e7c1918fe9e45887010fc05e66d8a0b060e (patch)
tree204827db6df01fd43c3a21c019d965f6110445bf /solutions/py/d07.py
parent1584228512345750bf187bcb18659a176a5fc2be (diff)
downloadaoc-16bf5e7c1918fe9e45887010fc05e66d8a0b060e.tar.gz
Fix ordering of profile and print
Diffstat (limited to 'solutions/py/d07.py')
-rw-r--r--solutions/py/d07.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/solutions/py/d07.py b/solutions/py/d07.py
index c39e811..7ab2fe6 100644
--- a/solutions/py/d07.py
+++ b/solutions/py/d07.py
@@ -73,6 +73,8 @@ if __name__ == "__main__":
import cProfile
input = open("../input/07", "r").readlines()
- pt1(input)
cProfile.run("pt1(input)")
cProfile.run("pt2(input)")
+ print(pt1(input))
+ print(pt2(input))
+