摘要: 题目:http://acm.nyist.net/JudgeOnline/problem.php?pid=93判断给你的操作是否满足要求:使用三个栈来操作,模拟该过程 1 #include<stdio.h> 2 #include <string.h> 3 4 #define N 105 5 6 int a[4][N]; 7 int f[N][2]; 8 9 void init(int n)//初始化栈 第一根柱子 10 { 11 memset(a,0,sizeof(a)); 12 13 int i; 14 int t = 1; 15 f... 阅读全文
posted @ 2013-04-24 17:21 heity 阅读(199) 评论(0) 推荐(0) 编辑