Nanro
📖 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 = """
8 8
4 - 5 - - - - 2
4 4 - - - 3 - -
- - - - - - - 4
- - 2 - 2 - 4 -
- - - 4 - - 3 -
4 - - - - 2 - -
- - 3 - - - - -
- 3 - 4 - - 2 3
1 1 6 6 6 9 9 14
1 1 4 6 9 9 14 14
2 1 4 6 10 10 10 10
2 4 4 7 7 7 10 15
2 2 5 8 11 11 11 15
2 5 5 8 11 13 13 15
3 3 5 8 8 13 12 15
3 3 3 8 12 12 12 15
"""
# Solve
res = puzzlekit.solve(problem_str, puzzle_type="nanro")
# Print solution grid
print(res.solution_data.get('solution_grid', []))
# Visualize (optional)
res.show()