void InOutS(int s[maxsize])
//s是元素為整數的棧
{int top=
for(i=
{scanf(
if(x!=
if(top==maxsize
else //讀入的整數等於
{if(top==
}//算法結束
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/22706.html
void InOutS(int s[maxsize])
//s是元素為整數的棧
{int top=
for(i=
{scanf(
if(x!=
if(top==maxsize
else //讀入的整數等於
{if(top==
}//算法結束
[