Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kamyu104 committed Dec 17, 2023
1 parent 8ff23ee commit 4793f24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Final Round/programming_paths_part_1.py3
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def generate(K):
P = (P-1)%2+1
while not (d[0]%2 == D and len(DEPTHS[d[0]]) >= P):
d[0] += 1
assert(d[0] < len(DEPTHS))
for r, c in DEPTHS[d[0]][:P]:
result[r][c] = '*'
d[0] += 1
Expand Down

0 comments on commit 4793f24

Please sign in to comment.