Returns true if the row, column and region of a digit are all valid:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(9, 9) | :: | grid |
Sudoky grid. |
|
integer, | intent(in) | :: | row |
Row number of the region. |
||
integer, | intent(in) | :: | col |
Column number of the region. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | i | ||||
integer, | public | :: | j |