摘要: 同上题#include #include #include #include #include #include using namespace std;int puzzle[10][10];char tmp[100];const int SLOT=0;const int ROW=1;const i... 阅读全文
posted @ 2014-08-25 11:14 chenjunjie1994 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 9阶数独,如上题做#include #include #include #include #include #include using namespace std;int puzzle[10][10];char tmp[15];const int SLOT=0;const int ROW=1;co... 阅读全文
posted @ 2014-08-25 10:41 chenjunjie1994 阅读(148) 评论(0) 推荐(0) 编辑
摘要: DLX算法,刚接触,是关于精确覆盖的,白书上有算法介绍。代码模板#include #include #include #include #include #include using namespace std;char puzzle[20][20];const int SLOT=0;const i... 阅读全文
posted @ 2014-08-25 09:57 chenjunjie1994 阅读(244) 评论(0) 推荐(0) 编辑