수도쿠 (1) 썸네일형 리스트형 [C] 4x4 수도쿠 코드 // sudoku4x4.cpp : Defines the entry point for the console application. // // #include "stdafx.h" #include #include int g_num_solutions = 0; void find_sudoku_pan(int *pan); // // 최초의 판 모양은 // // 01-- // 23-- // ---- // ---- void init_pan(int *pan) { for (int i = 0; i < 16; i++) *(pan + i) = -1; *(pan + 4 * 0 + 0) = 0; // [0][0] *(pan + 4 * 0 + 1) = 1; // [0][1] *(pan + 4 * 1 + 0) = 2; // [1][0] .. 이전 1 다음