#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int date[52]; //初始化栈的大小
int main()
{
char a[55];
int i,top,base,len;
while(gets(a)) //在while中输入字符串不用加“!=EOF”
{
top=0;
base=0;
len=strlen(a)
数据结构实验之栈与队列四:括号匹配
最新推荐文章于 2024-04-01 02:05:22 发布