Searched refs:BOARD_DIM (Results 1 – 1 of 1) sorted by relevance
33 const unsigned BOARD_DIM = 9; variable69 for (unsigned row = 0; row < BOARD_DIM; ++row) { in print_board()70 for (unsigned col = 0; col < BOARD_DIM; ++col) { in print_board()71 printf(" %d", b[row * BOARD_DIM + col].solved_element); in print_board()82 for (unsigned row = 0; row < BOARD_DIM; ++row) { in print_potential_board()83 for (unsigned col = 0; col < BOARD_DIM; ++col) { in print_potential_board()84 if (b[row * BOARD_DIM + col].solved_element) in print_potential_board()122 for (unsigned c = 0; c < BOARD_DIM; ++c) in in_row()129 for (unsigned r = 0; r < BOARD_DIM; ++r) in in_col()148 unsigned row = i / BOARD_DIM, col = i % BOARD_DIM; in calculate_potentials()[all …]