原式=(49999(49999-9999)-400×2999900)÷100000
=(49999*40000-40000×29999)÷100000
=20000*40000÷100000
=8000