- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 数据结构实验链队
#include <stdio.h> #include <iostream> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -1 typedef int Status; typedef int QElemType; #define MAXQSIZE 100 typedef int QElemType; typedef struct{ ...
2021-10-26 13:08:55 257
原创 数据结构实验一
#include<stdio.h> void swap(int x, int y) { int temp; temp = x; x = y; y = temp; } int main(){ int i,j; scanf("%d%d",&i,&j); swap(i,j); printf("%d %d",i,j); return 0; } ...
2021-10-26 13:07:12 98
原创 数据结构实验三(单链表)
#include <stdio.h> #include <iostream> #include<stdlib.h> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -1 typedef int Status; typedef int ElemType; typedef struct LNode{ ElemType dat...
2021-10-26 13:03:45 293
原创 数据结构实验二顺序栈
#include <stdio.h> #include <iostream> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -1 typedef int Status; #define MAXSIZE 100 typedef int SElemType; typedef struct{ SElemType *base; //栈底指针 SElemType *top; //栈顶指...
2021-10-26 13:00:11 219
原创 数据结构实验二线性表(顺序表)
#include <stdio.h> #include <iostream> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -1 typedef int Status; #define MAXSIZE 100 typedef int ElemType; typedef struct{ ElemType *elem; ...
2021-10-26 12:57:22 317
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人