posted @ 2007-12-17 10:32 csdnexpert 阅读(136) 评论(0) 推荐(0)
摘要:
#include "stdafx.h"#include "stdio.h"#include "stdlib.h"#define SMALL 1#if(SMALL) #define MAX 7 int QueueData[MAX] = {'A','B','C','D','E','F','G'};#else #define MAX 14 int QueueData[MAX] = {'A','B'. 阅读全文
摘要:
// Stack.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "stdio.h"#include "stdlib.h"//* #define STACK_MAX_SIZE 7 int StackData[STACK_MAX_SIZE] = {'A','B','C'... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(148) 评论(0) 推荐(0)
摘要:
// Chart.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "stdlib.h"//如:FROMHEAD = 1,则用头插法;否则:则用尾插法#define FROMHEAD 1/* 如:HASHEAD 被定义,则各顶点的邻接点链中; 否则:各顶点的邻接点链中... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(973) 评论(0) 推荐(0)
摘要:
// Sort.cpp : Defines the entry point for the console application./* 作者:成晓旭 时间:2001年6月29日(09:09:38-10:30:00) 内容:完成选择排序算法函数,冒泡排序算法 时间:2001年10月4日(21:00:38-21:30:00) 内容:完成选择排序算法函数,冒泡排序算法,插入排序算法(数组实现) 时... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(169) 评论(0) 推荐(0)
摘要:
//自然数的组合数处理头文件//组合数的回溯算法/* 作者:成晓旭 时间:2001年10月9日(10:00:38-10:20:00) 内容:完成组合数的回溯算法 时间:2001年10月7日(21:09:38-22:09:00) 内容:完成二叉树的前,中序遍历(非递归) 时间:2001年10月8日(10:09:38-11:29:00) 内容:完成查找二叉树的静,动态查找(非递归)*/#inclu... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(357) 评论(0) 推荐(0)
摘要:
// BackPack.cpp : Defines the entry point for the console application.//背包问题处理头文件//背包问题的算法/* 作者:成晓旭 时间:2001年10月12日(18:02:38-18:12:00) 内容:完成背包问题的程序 时间:2001年10月9日(14:00:00-15:00:00) 内容:完成“皇后”问题的程序序言部分... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(121) 评论(0) 推荐(0)
摘要:
// Detach.cpp : Defines the entry point for the console application.//#include "stdafx.h"#define MAXN 64int array[MAXN+1][MAXN];int main(int argc, char* argv[]){ int twon1,twon2,i,j,m,k; printf("指定n... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(124) 评论(0) 推荐(0)
摘要:
// JieCheng.cpp : Defines the entry point for the console application./* 作者:成晓旭 时间:2001年10月3日(17:00:00-18:30:00) 内容:完成用长整数求取普通整数的阶乘*/#include "stdafx.h"#include "stdlib.h"#define MAXLEN 100/*void Ge... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(117) 评论(0) 推荐(0)
摘要:
// Layout.cpp : Defines the entry point for the console application./* 作者:成晓旭 时间:2001年10月11日(11:35:38-12:35:00) 内容:完成插花问题的“动态规划法”算法及注解*/#include "stdafx.h"#include "string.h"#define MAX(A,B) ((A) > ... 阅读全文
posted @ 2007-12-17 10:32 csdnexpert 阅读(138) 评论(0) 推荐(0)
浙公网安备 33010602011771号