判断分段函数y={x-1(x>0),0(x=0),x+2(x0),0(x=0),x+2(x