• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






JT3895

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 下一页

2021年12月8日

3.32
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 typedef struct{ 4 int*element; 5 int k; 6 int rear; 7 }Queue; 8 void Create(Queue*Q) 9 { 10 scanf("%d",&Q-> 阅读全文
posted @ 2021-12-08 02:12 JT3895 阅读(29) 评论(0) 推荐(0)
 
3.31
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 char element[50]; 4 int front,rear; 5 }SeqQueue; 6 void Create(SeqQueue*S) 7 { 8 S->front=0; 9 S->rear=0; 10 c 阅读全文
posted @ 2021-12-08 02:09 JT3895 阅读(133) 评论(0) 推荐(0)
 
3.29
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 int element[50]; 4 int front,rear; 5 int length; 6 int tag; 7 }SeqQueue; 8 void Create(SeqQueue*S) 9 { 10 int 阅读全文
posted @ 2021-12-08 02:02 JT3895 阅读(63) 评论(0) 推荐(0)
 
3.28
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 typedef struct Node{ 4 int data; 5 Node*next; 6 }Node; 7 typedef struct{ 8 9 Node *front,*rear; 10 }LinkQue 阅读全文
posted @ 2021-12-08 01:49 JT3895 阅读(39) 评论(0) 推荐(0)
 
3.27
摘要: (1) 1 #include<stdio.h> 2 typedef struct{ 3 int vm,vn,vf; 4 int tag; 5 }item; 6 typedef struct{ 7 item element[50]; 8 int top; 9 }Stack; 10 void Init( 阅读全文
posted @ 2021-12-08 01:47 JT3895 阅读(24) 评论(0) 推荐(0)
 
3.26
摘要: 1 #include<stdio.h> 2 #include<math.h> 3 typedef struct{ 4 float A,p,e; 5 }item; 6 typedef struct{ 7 item element[50]; 8 int top; 9 }Stack; 10 void In 阅读全文
posted @ 2021-12-08 01:18 JT3895 阅读(82) 评论(0) 推荐(0)
 
3.25
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 int element[50]; 4 int top; 5 }Stack; 6 void Init(Stack*S) 7 { 8 S->top=-1; 9 } 10 void Push(Stack*S,int n) 11 阅读全文
posted @ 2021-12-08 01:03 JT3895 阅读(44) 评论(0) 推荐(0)
 
3.24
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 int m,n; 4 }element; 5 typedef struct{ 6 element array[50]; 7 int top; 8 }Stack; 9 void Inite(Stack*S) 10 { 11 阅读全文
posted @ 2021-12-08 01:00 JT3895 阅读(14) 评论(0) 推荐(0)
 
3.21
摘要: 1 #include<stdio.h> 2 #define MaxSize 20 3 typedef struct{ 4 char element[MaxSize]; 5 int top; 6 }SeqStack; 7 void InitStack(SeqStack*p)//初始化 8 { 9 p- 阅读全文
posted @ 2021-12-08 00:26 JT3895 阅读(90) 评论(0) 推荐(0)
 

2021年12月7日

3.20
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 int x,y; 4 int color; 5 }element; 6 typedef struct{ 7 element DArray[50][50];//二维数组本身不能存储其下标,故要用结构体记录其下标 8 int 阅读全文
posted @ 2021-12-07 23:58 JT3895 阅读(34) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 下一页