题目:
代码:
#include<stdio.h>
#include<stdlib.h>
#define Max 500
typedef struct
{
int Data[Max];
int Top1,Top2;
}Dnode;
typedef Dnode*Dstack;
Dstack CreateDstack()
{
Dstack S;
S=(Dstack)malloc(sizeof(Dnode));
S->Top1=-1;
S->Top2=Max;
return S;
}
void Push(Dstack Ptrs,