12 2019 档案
摘要:#include <stdio.h> #include <stdlib.h> #include <ctype.h> #define ERROR 0 #define OK 1 typedef struct Stack { int *elements; int max_size, top_index;
阅读全文
摘要:代码如下: #include <stdio.h>#include <stdlib.h> #define ERROR 0#define OK 1 typedef struct Queue{ int *data; int head,tail,length; }Queue; void init(Queue
阅读全文
摘要:#include <stdio.h>#include <stdlib.h>#include <string.h> #define MAX_N 500 typedef struct Graph { int mat[MAX_N][MAX_N]; int n;}Graph; void init(Graph
阅读全文