摘要: string// string::substr#include #include int main (){ std::string str="We think in generalities, but we live in details."; ... 阅读全文
posted @ 2015-09-13 19:45 Fridge 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 如果要用最简单的话说明:什么是优先队列? 博主在《数据结构与算法分析》上找到了这样一句话: 优先队列是至少允许下列两种操作的数据结构:Insert,DeleteMin实现方式? 我们在我们先前看过的数据结构中选择一样: 先看看他们的复杂度 数据结构 Insert D... 阅读全文
posted @ 2015-09-13 01:01 Fridge 阅读(138) 评论(0) 推荐(0) 编辑