diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-12-09 07:33:51 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-12-09 09:20:10 +0100 |
| commit | 16bf5e7c1918fe9e45887010fc05e66d8a0b060e (patch) | |
| tree | 204827db6df01fd43c3a21c019d965f6110445bf | |
| parent | 1584228512345750bf187bcb18659a176a5fc2be (diff) | |
| download | aoc-16bf5e7c1918fe9e45887010fc05e66d8a0b060e.tar.gz | |
Fix ordering of profile and print
| -rw-r--r-- | solutions/py/d04.py | 2 | ||||
| -rw-r--r-- | solutions/py/d07.py | 4 | ||||
| -rw-r--r-- | solutions/py/d08.py | 3 | ||||
| -rw-r--r-- | solutions/py/d09.py | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/solutions/py/d04.py b/solutions/py/d04.py index 1d5840a..e3fb41a 100644 --- a/solutions/py/d04.py +++ b/solutions/py/d04.py @@ -47,3 +47,5 @@ if __name__ == "__main__": cProfile.run("pt1([])") cProfile.run("pt2([])") + print(pt1([])) + print(pt2([])) 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)) + diff --git a/solutions/py/d08.py b/solutions/py/d08.py index 07a5af3..f889918 100644 --- a/solutions/py/d08.py +++ b/solutions/py/d08.py @@ -32,6 +32,7 @@ if __name__ == "__main__": import cProfile input = open("../input/08", "r").readlines() - pt1(input) cProfile.run("pt1(input)") cProfile.run("pt2(input)") + print(pt1(input)) + print(pt2(input)) diff --git a/solutions/py/d09.py b/solutions/py/d09.py index 3f01cfa..7495d3a 100644 --- a/solutions/py/d09.py +++ b/solutions/py/d09.py @@ -23,7 +23,7 @@ if __name__ == "__main__": import cProfile input = open("../input/09", "r").readlines() - print(pt1(input)) - print(pt2(input)) cProfile.run("pt1(input)") cProfile.run("pt2(input)") + print(pt1(input)) + print(pt2(input)) |
