
C/C++
文章平均质量分 69
tangzhenyu2022
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode 240: Search a 2D Matrix II C++Version
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted in ascending from left to right.Integers in原创 2015-07-28 08:42:22 · 342 阅读 · 0 评论 -
C++ 优先队列用法自定义Compare函数
C++头文件 #include template typename _Sequence = vector, typename _Compare = less >第一个参数 _Tp: 指定存储的类型名称;第二个参数 _Sequence: 指定存储的数据结构,该结果必须支持随机存取迭代器;第三个参数 _Com原创 2015-07-28 07:43:00 · 8263 阅读 · 0 评论