Skip to content

paint_area

Aliases: shade

📖 Rule Reference: Read full rules on external site

🎮 Play Online: Play at puzz.link • janko


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 = """
10 10
- - - - - - - - 1 -
- - 1 - - - - - - -
- - - - - - - - - -
- 4 - - - - - - - 3
- - - - - - - - - -
- - - - 1 - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - 2 - -
- - - - - - - - - -
1 1 13 21 26 31 35 41 47 54
2 2 14 15 26 31 35 42 47 55
3 3 15 15 27 31 36 43 43 55
4 8 16 22 22 32 37 37 49 49
4 9 17 17 28 32 38 38 50 49
4 10 10 23 28 33 33 38 50 56
5 11 18 23 28 34 39 44 51 51
5 11 19 24 29 34 39 44 52 57
6 6 19 25 30 30 39 45 45 58
7 12 20 25 60 60 40 46 53 59
"""

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

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

# Visualize (optional)
res.show()

Solution Output

10 10
x x x x x - x - x -
- - x - x - x x x x
x x - - x - x - - x
x - x x x x - - x x
x x - - - x x x - x
x - - x - - - x - x
x - x x - x - x x x
x - - x x x - x - x
x x - x - - - - - x
- x x x x x x x x x