Sichuan University Programming Contest 2018 Final(team)

I: 动态规划之记忆化DP