Refactor a bit
This commit is contained in:
1 parent
ef9d2bbe5d
commit
bdb00950fa
2 files changed
+2
-2
No files matched your search
@@ -3,7 +3,7 @@ from collections import Counter
|
||||
from utils import timeit
|
||||
|
||||
|
||||
@timeit("Problem 051")
|
||||
@timeit
|
||||
def Day_01():
|
||||
with open("files/P1.txt") as f:
|
||||
list_nums = [int(lines) for lines in f.read().strip().split()]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from functools import wraps
|
||||
|
||||
|
||||
def timeit(name):
|
||||
def timeit():
|
||||
def profile(original):
|
||||
import time
|
||||
|
||||
|
||||
Reference in new issue
Block a user