x^2+x=2013 即x^2=2013-x
(x-1)(2x+1)-(x-1)^2-1999=2*x^2-x-1-x^2-1+2x-1999
=x^2+x-2001
=(2013-x)+x-2001
=12