Sichuan University Programming Contest 2013 Final (Team)

G: Tianji's Horse Racing Story