Introduction - If you have any usage issues, please Google them yourself
set up the current system in a number of warehouse work, Stack simulation requires simulation of the current system of state stack. Input.txt documents presented by the input data. Line 1 is a positive integer n, n-stack operation. N the next trip, each trip is a stack operating instructions. Stack operating instructions "PUSH A B" is said to integer numbers of B to A stack; Stack operating instructions "A POP," said output No. A stack of documents imported elements example output file example inpu t.txt 1100 output.txt 7 PUSH PUSH PUSH 1200 2300 PUSH 2400 POP POP a POP 3 2 0200 4
Packet : 39709594sta.rar filelist
新建文件夹 (6)\input.txt
新建文件夹 (6)\output.txt
新建文件夹 (6)\sta.cpp
新建文件夹 (6)\sta.dsp
新建文件夹 (6)\sta.dsw
新建文件夹 (6)\sta.ncb
新建文件夹 (6)\sta.opt
新建文件夹 (6)\sta.plg
新建文件夹 (6)