Solve Sudoku

부분 유료
분류별 Sean Osier | 업데이트됨 vor einem Monat | Gaming
인기

8 / 10

지연 시간

1,764ms

서비스 수준

100%

Health Check

N/A

README

Solve Sudoku API

Solves standard 9 x 9 Sudoku puzzles

Input

You provide a JSON body with a puzzle parameter.

For example:

{
  "puzzle": "2.............62....1....7...6..8...3...9...7...6..4...4....8....52.............3"
}

puzzle should be a string of length 81 (9 x 9) with the first 9 characters corresponding to the first row of 9 squares, the next 9 to second row, and so on. Numbers 1-9 will be considered filled squares. All other characters are treated as blank squares.

Output

The API will return a JSON object of the structure:

{
    "solvable": True
    "solution": "284375196739816254651942378476128539312594687598637412143769825965283741827451963" 
}

solvable will beTrue if the puzzle you provided is solvable, and False if it is not.

solution will be the 81 character string solution to the puzzle you provided if solvable. If the puzzle is not solvable, solution will be an empty string "".

Solve Sudoku API

Solves standard 9 x 9 Sudoku puzzles

Input

You provide a JSON body with a puzzle parameter.

For example:

{
  "puzzle": "2.............62....1....7...6..8...3...9...7...6..4...4....8....52.............3"
}

puzzle should be a string of length 81 (9 x 9) with the first 9 characters corresponding to the first row of 9 squares, the next 9 to the second row, and so on. Numbers 1-9 will be considered filled squares. All other characters are treated as blank squares.

Output

The API will return a JSON object of the structure:

{
    "solvable": True
    "solution": "284375196739816254651942378476128539312594687598637412143769825965283741827451963" 
}

solvable will be True if the puzzle you provided is solvable, and False if it is not.

solution will be the 81 character string solution to the puzzle you provided if solvable. If the puzzle is not solvable, solution will be an empty string "".

팔로워: 30
API 생성자 :
Rapid account: Sean Osier
Sean Osier
sosier
Rate API에 로그인
등급: 2.3 - 투표: 3