Skip to content

Commit a63ccd0

Browse files
Update sol1.py
1 parent 0974ec0 commit a63ccd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_345/sol1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def solve(arr: NDArray, row: int, cols: set[int], cache: dict[str, int]) -> int:
7373
np.int64(5)
7474
"""
7575

76-
cache_id = f"{row_ind}, {sorted(include_set)}"
76+
cache_id = f"{row}, {sorted(cols)}"
7777
if cache_id in cache:
7878
return cache[cache_id]
7979

0 commit comments

Comments
 (0)