Sichuan University Programming Contest 2017 Preliminary

I: 暴风雨之后的景观水道