999²-1002×998
=999²-(1000+2)(1000-2)
=999²-(1000²-2²)
=999²-1000²+2²
=(999+1000)(999-1000)+2²
=1999×(-1)+4
=-1999+4
=-1995