hdu1702(ACboy needs your help again!)
<br />http://acm.hdu.edu.cn/showproblem.php?pid=1702<br /> <br />练习下stack,queue,我的代码如下(ac):<br />#include<stdio.h>
#include<string.h>
int no[10001];
int first,last;
void push(int a)
{
no[++last]=a;
}
int get1() //FIFO
{
int a=first;
f
原创
2011-03-23 20:18:00 ·
1386 阅读 ·
0 评论