算法
文章平均质量分 62
g821244608
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj之旅:1195 树状
Mobile phones Description Suppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is divided into squares. The squares form an S * S matrix原创 2017-05-05 15:32:17 · 223 阅读 · 0 评论 -
poj之旅:3321 Apple Tree
Markdown及扩展 这道题涉及到怎么把多叉树的查询转化为树状数组的前缀和查询 思想:通过某种办法将x转化为一个区间[L,R]; 一个连续的区间可以代表一棵子树 代码块语法遵循标准markdown代码,例如:#include <iostream> #include <cstdio> #include <vector> using namespace std;/* id[i]编号为i原创 2017-05-06 14:05:46 · 192 阅读 · 0 评论
分享