
算法竞赛入门经典(第二版)
DS-K
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
算法竞赛入门经典第六章习题
习题6-1:http://blog.csdn.net/chy20142109/article/details/50756253习题6-2:http://blog.csdn.net/chy20142109/article/details/50756265习题6-3:http://blog.csdn.net/chy20142109/article/details/50756原创 2016-02-28 10:17:42 · 741 阅读 · 0 评论 -
算法竞赛入门经典第五章习题
先写一点我认为重要的Priority_queue set map 等使用struct类型时,必须重载<号。定义模板如下:struct node{ int a,b; node(int x = 0,int y = 0):a(x),b(y){} bool operator<(const node& rhs) const { if ( a == rh原创 2016-02-11 10:02:21 · 968 阅读 · 0 评论