摘要: 地址:http://acm.hdu.edu.cn/showproblem.php?pid=1754 解析:先说update操作。c[]表示所管辖的区间范围里的最大值。 void update(int id,int x) { while(id<=n) { c[id]=x; for(int i=1;i< 阅读全文
posted @ 2020-05-12 18:24 liyexin 阅读(471) 评论(0) 推荐(0)