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; 阅读全文
posted @ 2019-12-27 12:23 马猴烧酒孟优秀 阅读(190) 评论(0) 推荐(0)
摘要:代码如下: #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 阅读全文
posted @ 2019-12-26 22:09 马猴烧酒孟优秀 阅读(168) 评论(0) 推荐(0)
摘要:#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 阅读全文
posted @ 2019-12-09 10:46 马猴烧酒孟优秀 阅读(192) 评论(0) 推荐(0)