https://blog.nowcoder.net/n/288f5fd83b7a45fd81537a9e2cd2fcff 离散化讲不明白,贴了个链接