sudoku/SudokuSolver.h
// get potential candidate count at cell [x,y]
get potential candidate count at cell [x,y]
get potential candidate count at cell [ x y ]
int countCandidates(int x, int y) {
    int cnt = 0;
    unsigned short filled = rows[x] | cols[y] | grids[3 * (x / 3) + (y / 3)];
    for (int i = 0; i < bound; ++i) {
      if ((filled & digits[i]) == 0)
        ++cnt;
    }
    return cnt;
  }
int countCandidates ( int x , int y ) { int cnt = 0 ; unsigned short filled = rows [ x ] | cols [ y ] | grids [ 3 * ( x / 3 ) + ( y / 3 ) ] ; for ( int i = 0 ; i < bound ; ++ i ) { if ( ( filled & digits [ i ] ) == 0 ) ++ cnt ; } return cnt ; }
get potential candidate count at cell [x,y]
get potential candidate count at cell [ x y ]