Skip to content

aqre

📖 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 = """
6 6
11 - - - - -
- - - - - -
- 1 - - - -
- - - 1 - -
- - - - - -
- - - - - -
1 1 1 1 1 1
1 1 1 1 1 1
1 2 2 1 1 1
1 2 1 3 3 1
1 1 1 1 3 1
1 1 1 1 1 1
"""

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

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

# Visualize (optional)
res.show()

Solution Output

6 6
- - x - - -
- x x x - -
x x - x x x
- - x x - -
- - x - - -
- - x - - -