A.last=(last+1)%m,q[last]=x;
B.x=q[last], last =(last+1)%m;
C.q[last+1]=x;
D.q[(last+1)%m]=x;
第1题
A.(rear-length+m+1)%m
B.(rear-length+m)%m
C.(rear-length+m-1)%m
D.(rear-length)%m
第2题
A.(front-rear+1)%m
B.(rear-front+1)%m
C.(front-rear+m)%m
D.(rear-front+m)%m
第3题
(38) A.(front-rear+1)%m
B.(rear-front+1)% m
C.(front-rear+m)% m
D.(rear-front+m)% m
第4题
A.front=(front+1)%(m+1)
B.front=(front+1)%m
C.rear=(rear+1)%m
D.front=front+1
第5题
第6题
A.front:=front+1
B.front:=(front+1)mod m
C.rear:=(rear+1)mod m
D.front:=(front+1)mod(m+1)
第7题
A.front:=front+1
B.front:=(front+1)mod m
C.rear:=(rear+1)mod m
D.front:=(front+1)mod(m+1)
第8题
A.sq↑.front:=sq↑.front+1;
B.sq↑.front:=(sq↑.front+1)%maxsize;
C.sq↑.rear:=(sq↑.rear+1)%maxsize;
D.sq↑.front:=(sq↑.front+1)%(maxsize+1);
第9题
A.(rear-front+re)mod m
B.(rear-front+m+1)mod m
C.(rear-front+m-1)mod m
D.(rear-front-m-1)mod m
第10题
A.(rear-front+m)mod m
B.(rear-front+1)mod m
C.(rear-front-1+m)mod m
D.(rear-front)mod m
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!