Validation of a zone/region.
Returns true if each digit in the 3x3 region appears only once.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(1:3, 1:3) | :: | region |
Sudoku’s subregion |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | col | ||||
integer, | public, | dimension(1:9) | :: | counters | |||
integer, | public | :: | row |