year salary 2000 1000 2001 2000 2002 3000 2003 4000 2004 5000 希望得到如下结果: year salary 2000 1000 2001 3000 2002 6000 2003 14000 2004 24000