1 #include 2 #include 3 #define ElementType int 4 #define MAXSIZE 100 5 6 struct LNode{ 7 ElementType Data[MAXSIZE]; 8 int Last; 9 }; 10 typedef struc... ...
分类:
其他好文 时间:
2019-07-25 23:29:28
阅读次数:
90
/** * 比较两个Ineger 数值的大小 返回最小值和最大值 */ public static Integer[] compareSize(Integer str1, Integer str2, Integer str3, Integer str4) { Integer a[] = new In... ...
分类:
其他好文 时间:
2019-07-24 19:29:03
阅读次数:
74
#include<bits/stdc++.h> #define MAXN 9999 #define MAXSIZE 10 #define DLEN 4 typedef long long ll; using namespace std; class BigNum { private: ll a[50... ...
分类:
其他好文 时间:
2019-07-08 00:01:01
阅读次数:
127
#include #include #include #define MAXSIZE 1000 #define ERROR 0 #define OK 1 using namespace std; typedef int Status; typedef int ElemType; //////////... ...
分类:
其他好文 时间:
2019-07-06 19:35:11
阅读次数:
138
Queue定义,直接copyJava的Queue,去除了Collection接口。 ArrayQueue ...
分类:
其他好文 时间:
2019-07-05 21:06:56
阅读次数:
102
队列(Queue) 一般的顺序队列: 由于这种结构会有假溢出的情况,所以一般不选择这种队列,而更多的使用循环队列。 循环队列: 判断队列满的情况: 1、count来计数;通常使用count Count等于队列的MAXSIZE 2、Flag标志 int 入队列 flag=1 出队列flag=0 Fro ...
分类:
其他好文 时间:
2019-07-04 14:38:48
阅读次数:
105
#include #include #include #define Maxsize 210 int main() { char sentence[Maxsize]; char wub[4]={'W', 'U', 'B'}; scanf("%s", sentence); int length=str... ...
分类:
其他好文 时间:
2019-07-02 09:37:00
阅读次数:
128
typedef char DType typedef int BType; #define maxsize 100 #define inifinity 65535 typedef struct { DType v[maxsize];//顶点表 BType a[maxsize][maxsize];//... ...
分类:
其他好文 时间:
2019-06-29 18:54:51
阅读次数:
73
#include #include #include #pragma warning(disable:4996) #define ERROR 0 #define OK 1 #define MAXSIZE 100 typedef int ElemType; typedef int Status; ty... ...
分类:
其他好文 时间:
2019-06-29 00:28:07
阅读次数:
108
#include #include #define Maxsize 10 typedef int elementype; typedef struct { elementype v[Maxsize]; int length; }sqlist; int main() { sqlist *L; L = ... ...
分类:
其他好文 时间:
2019-06-28 11:48:50
阅读次数:
91