summaryrefslogtreecommitdiffstats
path: root/20/py/d07.py
diff options
context:
space:
mode:
Diffstat (limited to '20/py/d07.py')
-rw-r--r--20/py/d07.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/20/py/d07.py b/20/py/d07.py
index e484f2b..48fa3d2 100644
--- a/20/py/d07.py
+++ b/20/py/d07.py
@@ -2,6 +2,7 @@
import sys
import regex as re
import functools
+import time
class Node:
@@ -49,5 +50,7 @@ if __name__ == "__main__":
input = open("../input/07", "r").readlines()
# graph(parse(input))
- print(pt1(input))
+ start = time.time()
print(pt2(input))
+ print(pt1(input))
+ print(time.time() - start)