摘要: 二叉树: CodeForces - 339D(题解) 单点修改区间查询 HDU - 1166 、HDU - 1394、*POJ - 2886、HDU - 1754、HDU - 2795 区间修改区间查询 HDU - 1698、POJ - 3468(树状数组做法)、POJ - 2528、POJ - 3 阅读全文
posted @ 2019-02-24 21:58 hjj1871984569 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 题目:Parking Lot 传送门:http://codeforces.com/problemset/problem/46/D 分析: 做法一: 1)这题和Hotel那题一样,也可以看做是求区间空位的问题,不过相对于Hotel那题细节会更多一些。 2)头和尾是不用考虑前和后是否有车的,但可以在$- 阅读全文
posted @ 2019-02-24 15:37 hjj1871984569 阅读(231) 评论(0) 推荐(0) 编辑