
算法
飒染霜林
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【算法】快速幂取模
int quick(int a,int b,int c){ int ans=1; a=a%c; while(b!=0) { if(b&1) ans=(ans*a)%c; b>>=1; a=(a*a)%c; } return ans;}原创 2018-05-03 19:36:06 · 136 阅读 · 0 评论 -
Stanford CS
http://exploredegrees.stanford.edu/coursedescriptions/cs/CS 101. Introduction to Computing Principles. 3-5 Units.Introduces the essential ideas of computing: data representation, algorithms, prog...转载 2018-08-23 10:57:32 · 15195 阅读 · 0 评论 -
ACM算法
ACM 所有算法 数据结构 栈,队列,链表 哈希表,哈希数组 堆,优先队列 双端队列 可并堆 左偏堆 二叉查找树 Treap 伸展树 并查集 集合计数问题 二分图的识别 平衡二叉树 二叉排序树 线段树 一维线段树 二维线段树 树状...转载 2018-09-13 18:01:41 · 248 阅读 · 0 评论