#include<stdio.h>
int push(int*a, int top, int x){ a[top]=x;
top++;
return top;}//进栈
int pop(int *a,int top){
top--;
return top;}//出栈
int main()
{
int top=0;
top=push( )//in
top=pop( )//out
int a[1005]={0};
return 0;}