Refactor a bit
This commit is contained in:
parent
ef9d2bbe5d
commit
bdb00950fa
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user