Skip to content

putteria

📖 Rule Reference: Read full rules on external site


Input Format

TBD

Output Format

TBD

Examples

Python Quick Start

Use the following code to solve this puzzle directly:

import puzzlekit

# Raw input data
problem_str = """
5 5
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
1 4 5 5 5
1 2 5 7 9
2 2 2 8 9
3 3 6 8 8
3 3 6 6 6
"""

# Solve
res = puzzlekit.solve(problem_str, puzzle_type="putteria")

# Print solution grid
print(res.solution_data.get('solution_grid', []))

# Visualize (optional)
res.show()

Solution Output

5 5
- 1 - - 4
2 - - 1 -
- 4 - - 2
4 - - 3 -
- - 4 - -