step(v) if(v==end) =0; else if(sg(v)>0) =max(step(u))+1&&sg(u)==0 else =min(step(u))+1 这个模型暂且没有例题,找到之后补上。