当$s=0$时(求最小值): 若$x_{0},x_{1},...,x_{n-1}$和$y_{0},y_{1},...,y_{n-1}$像题中所给的方式存储在$r[0][0..nk-1]$和$r[1][0..nk-1]$,那么执行 not(2,1),add(2,0,2),xor(2,0,2),xor(2,1,2),right(2,2,k) store(3,[1,0,0,...,0,1,0,0,...,0,......]),and(2,2,3) left(3,2,1),or(2,2,3) left(…