Sichuan University Programming Contest 2013 Final (Team)

A: Love Me, Love My Permutation