栈:FEDCBA 出三 栈:FED 入三 ;队:CBA 栈:FEDZYX 退all 入队 栈:空 队:FEDZYXCBA | | | | | | 63 | 64 2n = n0 +(n0 +1) + 1 64 + 63 + 1 = 128 2x+1 = 256 x = 257/2