Skip to content

Commit

Permalink
remove/format print
Browse files Browse the repository at this point in the history
  • Loading branch information
RongkunWang committed Dec 11, 2023
1 parent 7e4e536 commit 2e5d204
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/python/11_rk.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def dis(pos1, pos2, empty_row, empty_col, sol2 = False):
dist += abs(pos1[0] - pos2[0])
dist += abs(pos1[1] - pos2[1])

print(pos1, pos2, dist)
# print(pos1, pos2, dist)
return dist


Expand Down Expand Up @@ -52,8 +52,8 @@ def sol1(m):
l_empty_col.append(c)


print(l_empty_row)
print(l_empty_col)
# print(l_empty_row)
# print(l_empty_col)
s = 0
s2 = 0
for i in range(len(l_galaxy)):
Expand All @@ -70,8 +70,8 @@ def main():
m = parse(infile)
# print(m)
sol = sol1(m)
print(sol)
# print(sol[1])
print(sol[0])
print(sol[1])
pass

main()

0 comments on commit 2e5d204

Please sign in to comment.