摘要: #include <stdio.h> #include <stdlib.h> #define MAXSIZE 100 //元素进栈 int push(char* zhan,int top,char elem){ zhan[top]=elem; top++; return top; } //元素出栈 阅读全文
posted @ 2021-09-27 22:46 Lindseyyip 阅读(30) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() { int n; scanf("%d",&n); while(n>100) { scanf("%d",&n); } char a[101]; getchar(); gets(a); int i; int j; for(j=0;a[j]!='\ 阅读全文
posted @ 2021-09-27 22:43 Lindseyyip 阅读(19) 评论(0) 推荐(0) 编辑