a=-2005,b=2006,c=-2007,
a的平方+b的平方+c的平方+ab+bc-ca
=1/2{(a+b)^2+(a-c)^2+(b+c)^2}
=1/2(1^2+2^2+1^2)
=1/2*6
=3