Open main menu

CDOT Wiki β

Changes

TriForce

42 bytes removed, 12:08, 3 April 2019
Assignment 1: Sudoku Solver
/* Check if 'num' is not already placed in current row,
current column and current 3x3 box */
return !UsedInRow(grid, row, num) && !UsedInCol(grid, col, num) && !UsedInBox(grid, row - row%3 , col - col%3, num)&& grid[row][col]==UNASSIGNED;
}