Sichuan University Programming Contest 2013 Final (Team)

D: Help My Team Leader