已知函数f(x)=-x2+2x(x>0)a(x=0)x2+bx(x