摘要: 在写的时候加了判断询问位置先后的swap结果wa了快十次了,不知道为什么; http://acm.hdu.edu.cn/showproblem.php?pid=1754 阅读全文
posted @ 2019-05-06 21:04 starve_to_death 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 不开longlong见祖宗 题目没说操作中的a,b大小要注意 接着就是状压+线段树 http://poj.org/problem?id=2777 阅读全文
posted @ 2019-05-06 18:24 starve_to_death 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 区间修改&&单点查询(树状数组) #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<vector> #include<list> #include<ma 阅读全文
posted @ 2019-05-06 16:27 starve_to_death 阅读(167) 评论(0) 推荐(0) 编辑