当前位置: X题卡 > 所有题目 > 题目详情

设数组data[0…m]作为循环队列sq的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为

查看本题答案

你可能感兴趣的试题

front=front+1   front=(front+1)%(m-1)   front=(front-1)%m   front=(front+1)%m  
sq↑.front: =sq↑.front+1;  sq↑.front:=(sq↑.front+1)% maxsize;  sq↑.rear: =(sq↑.rear+1)% maxsize;  sq↑.front: =(sq↑.front+1)% (maxsize+1);  
sq↑.front:=sq↑.front+1;  sq↑.front:=(sq↑.front+1)%maxsize;  sq↑.rear:=(sq↑.rear+1)%maxsize;  sq↑.front:=(sq↑.front+1)%(maxsize+1);  
front=-front+1  front=-(front+1)%(m-1)  front=-(front-1)%m  front=-(front+1)%m  
front=front+1  front=(front+1)%m  front=(front+1)%(m+1)  rear=(rear+1)%m  
front=front+1  front=(front+1)%(m-1)  front=(front-1)%m  front=(front+1),%m  
front:=front+1  front=(front+1)mod m  rear:=(rear+1)mod m  front=(front+1)mod(m+1)  
front:=front+1  front:=(front+1)mod m  rear:=(rear+1)mod m  front:=(front+1)mod(m+1)  
front=front+1  front=(front+1)%(m-1)  front=(front-1)%m  front=(front+1)%m  
sq↑.front:=sq↑.front+1;  sq↑.front:=(sq↑.front+1)%maxsize;  sq↑.rear:=(sq↑.rear+1)%maxsize;  sq↑.front:=(sq↑.front+1)%(maxsize+1);  
sq↑.front:=sq↑.front+1;  Sq↑.front:=(Sq↑.front+1)%maxsize;  sq↑.rear:=(sq↑.rear+1)%maxsize;  sq↑.front:=(sq↑.front+1)%(maxsize+1) ;  
sq↑.front:=sq↑.front+1;  sq↑.front:=(sq↑.Dont+1)% maxsize;  sq↑.rear:=(sq↑.rear+1)% maxsize;  sq↑.front:=(sq↑.front+1)% (maxsize+1);  
front:=front+1  front:=(front+1)mod m  rear:=(rear+1)mod m  front:=(front+1)mod(m+1)  

热门试题

更多