Refactor a bit

This commit is contained in:
David Doblas Jiménez 2024-12-02 21:32:59 +01:00
parent ef9d2bbe5d
commit bdb00950fa
2 changed files with 2 additions and 2 deletions

View File

@ -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()]

View File

@ -1,7 +1,7 @@
from functools import wraps
def timeit(name):
def timeit():
def profile(original):
import time