Train Problem——判断输出序列是否是输入序列的出栈顺序
http://acm.hdu.edu.cn/showproblem.php?pid=1022#include #include using namespace std;void TestIsStackSequence(char *in, char *out);int main(){ int n; char in[10]; char out[10]; while (scanf("%d %s %s", &n, in, out) != EOF) { TestIsSta