grand_tour
Input Format
No input description provided.
Output Format
No output description provided.
Examples
Python Quick Start
Use the following code to solve this puzzle directly:
import puzzlekit
# Raw input data
problem_str = """
9 9
- - - - - - - 8 -
- 2 - 1 4 - - - 1
2 8 - 1 5 4 - 2 -
12 - - 1 5 6 - 8 -
- 2 - 1 4 9 4 - -
2 8 - - - 2 - - 2
8 - - 3 4 8 2 - 8
- 1 4 8 - 1 12 1 4
- 1 4 - 1 4 2 - -
"""
# Solve
res = puzzlekit.solve(problem_str, puzzle_type="grand_tour")
# Print solution grid
print(res.solution_data.get('solution_grid', []))
# Visualize (optional)
res.show()