Sichuan University Programming Contest 2014 Preliminary(team)

C: s13a_pan's birthday gift