![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
文章平均质量分 76
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 · 309 阅读 · 0 评论 -
C++ 优先队列用法自定义Compare函数
C++头文件 #include template typename _Sequence = vector, typename _Compare = less >第一个参数 _Tp: 指定存储的类型名称;第二个参数 _Sequence: 指定存储的数据结构,该结果必须支持随机存取迭代器;第三个参数 _Com原创 2015-07-28 07:43:00 · 8181 阅读 · 0 评论