=(1-2)+(3-4)+……(1997-1998)+1999=—1×1998/2+1999=1000 奇数项与偶数项配对
=(1-2)+(3-4)+(5-6)+...+(1997-1998)+1999=(-1)*999+1999=1000
(1+3+5+···+1999)-(1+3+5+···+1999)+1999-999=1000