diff --git a/solution.py b/solution.py index 4363a57..7ec8d9e 100644 --- a/solution.py +++ b/solution.py @@ -1,8 +1,9 @@ #!/bin/python3 -import sys,re +import sys,time,re from pprint import pprint sys.path.insert(0, '../../') from fred import list2int,get_re,nprint,lprint,loadFile +start_time = time.time() input_f = 'test' @@ -14,10 +15,6 @@ part = 1 ######################################### if part == 1: - with open(input_f) as file: - for line in file: - - ######################################### @@ -27,3 +24,5 @@ if part == 1: ######################################### if part == 2: exit() + +print("--- %s seconds ---" % (time.time() - start_time)) \ No newline at end of file