你可能感兴趣的试题
r-f; (n+f-r)%n; n+r-f; (n+r-%n
rear=0 (rear+1)mod m=0 length=0 length+1=0
r-f n+f-r n+r-f (n+r-f)mod n
rear-length (rear-length+m)mod m (1+rear+m-length)mod m m-length
r-f (m+r-f)mod m (m-r+f)mod m (m-r-f)mod m
r-f n+f-r n+r-f (n+r-f)mod n
r-f n+f-r n+r-f (n+r-f) mod n
r-f n+f-r n+r-f (n+r- mod n