摘要: 堆排序:http://www.acmerblog.com/heap-sort-5072.htmlhttp://blog.csdn.net/ACdreamers/article/details/15361751归并排序:http://blog.csdn.net/ACdreamers/article/d... 阅读全文
posted @ 2015-11-21 16:07 Peccavi 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 难点:1. 对逻辑关系的分析以及对细节的把握其中 最关键的突破点当属引入cur(光标位置)以及last(文末位置)这样一来 完全无需分类讨论那样的蒟蒻办法这种思想相当于从特殊到一般 找到一个一般化的通用方法 所有情形都适用in this case, 不论是'['(Home)后、']'(End)后 共... 阅读全文
posted @ 2015-11-21 16:04 Peccavi 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 第一章:入门1.1 PC/UVa 题号: 110101/100 The 3n+1 problem (3n+1 问题)1.2 PC/UVa 题号: 110102/10189 Minesweeper (扫雷)1.3 PC/UVa 题号: 110103/10137 The Trip (旅行)1.4 PC/... 阅读全文
posted @ 2015-11-21 14:40 Peccavi 阅读(1286) 评论(0) 推荐(1) 编辑