2001-1+1999-2+1997-3+.1001-1000
问题描述:
2001-1+1999-2+1997-3+.1001-1000
答
=(2001+1999...+1001)-(1+2+3..+1000)
=501*(2001+1001)/2-1000(1+1000)/2
=501*2002/2-500*1001
=(501-500)*1001
=1001