Fix string delimiter issues in docstring (#8)

- Add proper triple-quote delimiters around the Chinese description
- Fix escaped quotes in the example text
- Resolve linter errors caused by improper string formatting
This commit is contained in:
David Mihal 2025-08-24 01:49:42 +01:00 committed by GitHub
parent a98875937f
commit 125a7818e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 8 deletions

View file

@ -1,6 +1,5 @@
### 谜题描述
"""
谜题描述
Futoshiki is a logic puzzle played on an N×N grid where the objective is to fill each cell with a unique number from 1 to N, adhering to three core principles:
@ -11,14 +10,13 @@ Futoshiki is a logic puzzle played on an N×N grid where the objective is to fil
Between certain pairs of adjacent cells (horizontally or vertically), there are inequality symbols (< or >). These symbols enforce relationships:
- **A > B** means the number in cell A must be greater than the number in cell B.
- **A < B** means the number in cell A must be less than the number in cell B.
The direction of the symbol determines the comparison (e.g., a \">\" between two horizontal cells means the left cell is greater; a \">\" between vertical cells means the upper cell is greater).
The direction of the symbol determines the comparison (e.g., a ">" between two horizontal cells means the left cell is greater; a ">" between vertical cells means the upper cell is greater).
3. **Deductive Logic**:
The puzzle begins with some numbers pre-filled and inequalities provided. Solvers must deduce the remaining numbers by ensuring all uniqueness and inequality rules are satisfied simultaneously. Inequalities override potential number placements even if row/column uniqueness is temporarily met.
The challenge lies in balancing the constraints of uniqueness and inequalities to uniquely determine the solution.
请完成上述谜题的训练场环境类实现包括所有必要的方法
"""