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






JT3895

 
 

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

2021年12月7日

3.19
摘要: 3.19 假设一个算术表达式中可以包含三种括号:圆括号“( ”和“ )”、方括号“[”和“]”及花括号“{”和“}”,且这三种括号可按任意的次序嵌套使用。编写判别给定表达式中所含括号是否正确配对出现的算法(已知表达式已存入数据元素为字符的顺序表中)。 1 #include<stdio.h> 2 ty 阅读全文
posted @ 2021-12-07 23:16 JT3895 阅读(126) 评论(0) 推荐(0)
 
3.17
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 char array[50]; 4 int top,rear; 5 }DoubleStack; 6 void Create(DoubleStack*S) 7 { 8 char e; 9 S->top=0,S->rear= 阅读全文
posted @ 2021-12-07 23:11 JT3895 阅读(122) 评论(0) 推荐(0)
 
3.16
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 int array[50]; 4 int top; 5 }SeqStack; 6 void Inite(SeqStack*S) 7 { 8 S->top=-1; 9 } 10 int Pop(SeqStack*S) 11 阅读全文
posted @ 2021-12-07 23:10 JT3895 阅读(26) 评论(0) 推荐(0)
 
3.15
摘要: 1 #include<stdio.h> 2 typedef struct{ 3 int array[50]; 4 int top,rear; 5 }DoubleStack; 6 void Create(DoubleStack*S) 7 { 8 int n,i; 9 scanf("%d",&n); 1 阅读全文
posted @ 2021-12-07 23:08 JT3895 阅读(47) 评论(0) 推荐(0)
 

2021年11月18日

2.42
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 typedef struct{ 4 int coef; 5 int exp; 6 }PolyTerm; 7 typedef struct Node{ 8 PolyTerm data; 9 Node*pre,*nex 阅读全文
posted @ 2021-11-18 21:32 JT3895 阅读(51) 评论(0) 推荐(0)
 
2.41
摘要: 1 #include<stdio.h> 2 #include<math.h> 3 #include<stdlib.h> 4 typedef struct{ 5 int coef; 6 int exp; 7 }PolyTerm; 8 typedef struct{ 9 PolyTerm *elemen 阅读全文
posted @ 2021-11-18 21:31 JT3895 阅读(38) 评论(0) 推荐(0)
 
2.40
摘要: 1 #include<stdio.h> 2 #include<math.h> 3 #include<stdlib.h> 4 typedef struct{ 5 int ceof; 6 int exp; 7 }PolyTerm; 8 typedef struct{ 9 PolyTerm *elemen 阅读全文
posted @ 2021-11-18 21:30 JT3895 阅读(80) 评论(0) 推荐(0)
 
2.39
摘要: 1 #include<stdio.h> 2 #include<math.h> 3 #include<stdlib.h> 4 typedef struct{ 5 int coef; 6 int exp; 7 }PolyTerm; 8 typedef struct{ 9 PolyTerm *elemen 阅读全文
posted @ 2021-11-18 21:29 JT3895 阅读(58) 评论(0) 推荐(0)
 
2.38
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 typedef struct Node{ 4 int data; 5 Node*next,*pre; 6 int freq; 7 }Node,*LinkList; 8 Create(LinkList*L) 9 { 阅读全文
posted @ 2021-11-18 21:27 JT3895 阅读(36) 评论(0) 推荐(0)
 
2.37
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 typedef struct Node{ 4 int data; 5 Node*pre,*next; 6 }Node,*LinkList; 7 CreateLinkList(LinkList*L) 8 { 9 *L 阅读全文
posted @ 2021-11-18 21:24 JT3895 阅读(46) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 下一页