2013河南省数据要领入门.docxVIP

  • 1
  • 0
  • 约5.5千字
  • 约 5页
  • 2019-08-31 发布于四川
  • 举报
1、#define maxsize 栈空间容量 void InOutS(int s[maxsize]) //s是元素为整数的栈,本算法进行入栈和退栈操作。 {int top=0; //top为栈顶指针,定义top=0时为栈空。 for(i=1; i=n; i++) //n个整数序列作处理。 {scanf(“%d”,x); //从键盘读入整数序列。 if(x!=-1

文档评论(0)

1亿VIP精品文档

相关文档