Description One day Dima and Alex had an argument about the price and quality of laptops. Dima thinks that the more expensive a laptop is, the better ...
分类:
其他好文 时间:
2016-09-04 22:21:19
阅读次数:
205
题目链接:http://acm.split.hdu.edu.cn/showproblem.php?pid=1561 思路:树dp,设dp(i,j)为i节点时要攻破k个城堡可获得的最大收益(包括i节点,即i节点也要消耗k个城堡中的一个),我们考虑攻破的这k个城堡应当包括哪些部分: 假如节点i有一个儿子 ...
分类:
其他好文 时间:
2016-08-28 19:21:26
阅读次数:
147
Beautiful is better than ugly. 优美胜于丑陋 Explicit is better than implicit. 明了胜于晦涩 Simple is better than complex. 简单胜过复杂 Complex is better than complicate... ...
分类:
编程语言 时间:
2016-08-27 09:49:34
阅读次数:
222
RESTful Web APIs_2013 I'm going to show you a better way to do distributed computing, using the ideas underlying the most successful distributed syste ...
分类:
Web程序 时间:
2016-08-14 19:10:30
阅读次数:
137
以下是最小生成树+并查集 【HDU】1213 How Many Tables 基础并查集★1272 小希的迷宫 基础并查集★1325&&poj1308 Is It A Tree? 基础并查集★1856 More is better 基础并查集★1102 Constructing Roads 基础最小 ...
分类:
其他好文 时间:
2016-08-11 17:44:44
阅读次数:
237
sql: 解决方法: 将参数名(上面的例子为’parentId’)替换为”_parameter” As documented, parameterType is optional and it is usually better to let MyBatis detect it. As your s ...
分类:
编程语言 时间:
2016-08-09 20:41:57
阅读次数:
283
Description Mr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys come, the better it will be. Of c ...
分类:
其他好文 时间:
2016-08-01 17:12:08
阅读次数:
163
1.py历史常识 2.py设计哲学 >>> import thisThe Zen of Python, by Tim Peters Beautiful is better than ugly.Explicit is better than implicit.Simple is better than ...
分类:
其他好文 时间:
2016-07-25 17:58:01
阅读次数:
146
The more, The Better Problem Description ACboy很喜欢玩一种战略游戏,在一个地图上,有N座城堡,每座城堡都有一定的宝物,在每次游戏中ACboy允许攻克M个城堡并获得里面的宝物。但由于地理位置原因,有些城堡不能直接攻克,要攻克这些城堡必须先攻克其他某一个特定 ...
分类:
其他好文 时间:
2016-07-20 17:28:48
阅读次数:
178
https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/ Better Linux Disk Caching & Performance with vm.dirty_ratio ...
分类:
其他好文 时间:
2016-07-20 01:18:40
阅读次数:
515