Refactor a bit

This commit is contained in:
daviddoji committed 2024-12-02 21:32:59 +01:00
1 parent ef9d2bbe5d
commit bdb00950fa
2 files changed
+2 -2

No files matched your search

+1 -1
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()]
+1 -1
View File
@@ -1,7 +1,7 @@
from functools import wraps
def timeit(name):
def timeit():
def profile(original):
import time