- 博客(1)
- 收藏
- 关注
原创 2020-12-24
#include<stdio.h> #define max 100#define N 5typedef struct qwe{ int aaa[max]; int top; } qwe;qwe s;qwe init_stack(qwe s) { s.top=0; }int push(qwe s,int e) { if(s.topmax-1) { printf(“栈满,无法输入\n”); } else { s.top++; s.aaa[s.top]=e; } return 0
2020-10-30 21:34:22
85
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人