Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
TriForce
42 bytes removed
,
12:09, 3 April 2019
→
Assignment 1: Sudoku Solver
/* Check if 'num' is not already placed in current row,
current column and current 5x5 box */
return !UsedInRow(grid, row, num) &&
!UsedInCol(grid, col, num) &&
!UsedInBox(grid, row - row%5 , col - col%5, num)&&
grid[row][col]==UNASSIGNED;
}
Vincent Terpstra
112
edits