二叉查找树 DefaultCategory 发表于 9年前 (2012-07-26) 暂无评论 二叉查找树是一种支持查找,删除,排序的数 在排序上可以说是动态 的, 即随时告诉我们排序(中序遍历) 在二元排序树b中查找x的过程为: 若b是空树,则搜索失败,… 阅读更多 树 0
ELF hash DefaultCategory 发表于 9年前 (2012-07-26) 暂无评论 字符串Hash 模板代码 unsigned long elf_hash(const unsigned char *name) { unsigned long h… 阅读更多 哈希表 0
线段树-模板 DefaultCategory 发表于 9年前 (2012-07-24) 暂无评论 PushUp(root) 维护 sum[root]=sum[root/2]+sum… 阅读更多 线段树 0
C++ 注意事项 DefaultCategory 发表于 9年前 (2012-07-09) 暂无评论 1:名字空间 –》STL无法使用 2.define 必须+10 极限点 时间小wa 3.for后面不… 阅读更多 C++ 0