直接插入排序#include typedef int Keytype;typedef struct{ Keytype key; int data;}RecType;void InsertSort(RecType R[],int n){ int i; int j; RecType temp; f...
分类:
其他好文 时间:
2014-06-21 09:52:18
阅读次数:
223
/* Expands 'hmap', if necessary, to optimize the performance of searches. */voidhmap_expand(struct hmap *hmap){ size_t new_mask = calc_mask(hmap->n...
分类:
其他好文 时间:
2014-06-21 08:27:00
阅读次数:
223
经典搜索 1 #include 2 #include 3 using namespace std; 4 5 const int MAX=10; 6 7 int step[MAX][MAX]; 8 char maze[MAX][MAX]; 9 int n,m,t;10 struct {11 ...
分类:
其他好文 时间:
2014-06-21 07:12:00
阅读次数:
218
uvaLive4255:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2256题意:对于一个序列,我们可以计算出一个...
分类:
其他好文 时间:
2014-06-21 00:27:39
阅读次数:
284
基础数据结构: struct A { int a; int b; int c; int d; int e; int f; int g; };初始化次数:const int MAX_L...
分类:
其他好文 时间:
2014-06-21 00:17:14
阅读次数:
166
#include #define NUMBER 6#define F_PATH "D:\\C_C++\\ec13-3\\hw.dat"typedef struct { char name[20]; int height; float weight;} student;void swap(studen...
分类:
编程语言 时间:
2014-06-21 00:08:26
阅读次数:
321
1 PowerDesigner中在生成的数据库脚本中用name列替换comment列作为字段描述的方法如下,依次打开Tools -- Execute Commands -- Run Script,运行以下脚本:Option ExplicitValidationMode = TrueInteracti...
分类:
数据库 时间:
2014-06-20 21:08:25
阅读次数:
324
题目连接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=163#ProblemVerdictLanguageRun TimeSubmission Date1...
分类:
其他好文 时间:
2014-06-20 20:23:12
阅读次数:
365
下面讨论表单元素的类型及常用的属性。本节单词记忆:标签 1.select 2.option 3.textarea属性 1.text 2.password 3.radio 4.checkbox 5.name 6.value7.reset 8.submit 9.button网页学习网提示:html语言非...
分类:
其他好文 时间:
2014-06-20 18:01:29
阅读次数:
276
1 #include 2 #include 3 using namespace std; 4 5 const int MAX=13; 6 7 char maze[MAX][MAX][MAX]; 8 9 struct {10 int i,j,k;11 }beg,des,que[11...
分类:
其他好文 时间:
2014-06-20 14:04:37
阅读次数:
141