Sichuan University Programming Contest 2017 Final(team)

J: Expectation Computing