Skip to content

Cojun

Aliases: Kojun

📖 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
2 - - - 1 -
- - - 3 - -
- 3 - - 5 3
- - - - - -
- - 3 - 4 2
- - - - - -
1 1 7 7 7 11
2 2 2 2 2 11
3 6 6 6 2 10
3 3 3 6 10 10
4 4 8 9 9 9
5 5 8 8 9 9
"""

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

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

# Visualize (optional)
res.show()

Solution Output

6 6
2 1 3 2 1 2
1 4 2 3 6 1
4 3 4 2 5 3
3 1 2 1 2 1
1 2 3 5 4 2
2 1 2 1 3 1