Open main menu

CDOT Wiki β

Changes

TriForce

82 bytes added, 15:12, 20 March 2019
Assignment 2
if (!(rowHas[row][idx] || colHas[col][idx] || boxHas[box][idx]) &&
(boxCount[box][idx] == 1 || rowCount[row][idx] == 1 || colCount[col][idx] == 1)) {
//In this section this value can only appear in this square
at = idx + 1;
d_a[gridIdx] = at;