
算法
wlc_大龙骧
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
只能生成一个对象的类(经典设计模式之一)
#include // singleton class A { public: static A* GetInstance(void)转载 2013-12-09 08:58:41 · 607 阅读 · 0 评论 -
回溯法 全排列
// TotalOrder.cpp : Defines the entry point for the console application.//各位见笑了,哥们算法太烂,多多指教#include "stdafx.h"#include #include using namespace std;typedef struct bia{ int Value; int P原创 2013-12-09 08:57:09 · 684 阅读 · 0 评论 -
N皇后问题——回溯算法
// programme1.cpp : Defines the entry point for the console application.//Author: C.J// Date: 2013.4.26#include "stdafx.h"#include #include #include #include using namespace std;typ原创 2013-12-09 08:55:11 · 580 阅读 · 0 评论