#include <iostream>
using namespace std;
#define MAXSIZE 100
typedef int ElemType;
typedef struct STACK{
//--------补充代码--Start------
//--------补充代码--End-------
}SqStack;
//函数声明
int InitStack(SqStack &S);
void ClearStack(SqStack &S);
int StackEmpty(SqStack &S);
int StackLength(SqStack &S);
int GetTop(SqStack &S,ElemType &e);
int Push(SqStack &S,ElemType e);
int Pop(SqStack &S,ElemType &e);
void PrintElem(SqStack S);
int InitStack(SqStack &S){//初始化,创建空栈
//--------补充代码--Start------
//--------补充代码--End-------
}
void ClearStack(SqStack &S){//清空栈
//--------补充代码--Start------
//--------补充代码--End-------
}
int StackEmpty(SqStack &S){//判栈空
//--------补充代码--Start------
//--------补充代码--End-------
}
int StackLength(SqStack &S){//求栈中元素个数
//--------补充代码--Start------
//--------补充代码--End-------
}
int GetTop(SqStack s,ElemType &e){//获取栈顶元素值
//--------补充代码--Start------
//--------补充代码--End-------
}
int Push(SqStack &S,ElemType e){//入栈
//--------补充代码--Start------
//--------补充代码--End-------
}
int Pop(SqStack &S,ElemType &e){//出栈
//--------补充代码--Start------
//--------补充代码--End-------
}
void PrintElem(SqStack &S){//打印栈中元素
ElemType *p = S.base;
while(p<S.top){
cout<<*p<<" ";
p++;
}
}
//数制转换函数
void conversion(){
ElemType e;
SqStack S;
InitStack(S);
int n,R;
cin>>n>>R;
//--------补充代码--Start------
//--------补充代码--End-------
}
//主函数
int main( ){
conversion();
return 0;
}