poj2528 贴海报 区间树离散化

利用离散化大大优化速度。 离散化:排序,去重,映射。 区间树:判断区间,上下更新值。 题目连接:http://acm.hust.edu.cn/vjudge/problem/14608ios #include <iostream> #include <algorithm> #include <cmath> #include <cstdio> using namespace std; int n; s
相关文章
相关标签/搜索