原式=x^2(x^2+x+1)-x^3+2002x^2+2002x+2004 =0-x^3-x^2-x+2003x^2+2003x+2004 =0-x(x^2+x+1)+2003(x^2+x+1)+1 =0-0+0+1 =1