POJ 2057 The Lost House 树形DP+贪心...
分类:
其他好文 时间:
2015-06-04 13:47:48
阅读次数:
104
Bad Hair Day
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 14883
Accepted: 4940
Description
Some of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a ba...
分类:
其他好文 时间:
2015-06-03 23:33:20
阅读次数:
212
Description
Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is particularly good.
Fa...
分类:
其他好文 时间:
2015-06-03 21:43:24
阅读次数:
119
题意:
给出一颗有根树,边权均为1;
一个S在根结点上,要找到在某个叶子结点上的它的房子;
有的结点上有w,可以告诉S当前结点的子树上是否有它的房子;
房子在每个叶子结点的概率相等,选择一种最佳的计划,来让S走的期望值最小;...
分类:
其他好文 时间:
2015-06-02 09:30:52
阅读次数:
115
使用克隆安装oracle11g以后,然后使用cadb建库报错:ORA-12547:TNS:lostcontact对于这么一个不明显的错误,实在很难定位确认问题,网上给了很多建议:1、缺包,libiao、ksh等2、配置文件错误3、环境变量不对4、Oracle目录权限不对5、$ORACLE_HOME/bin/oracle文件权限或文件大小..
分类:
数据库 时间:
2015-06-01 20:51:18
阅读次数:
729
Time limit(ms): 1000 Memory limit(kb): 65535The cows have a line of 20 water bowls from which they drink. The bowls can be either right-side-up (pr...
分类:
其他好文 时间:
2015-05-30 22:22:46
阅读次数:
184
Description
N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neighborhood 'watering hole' and drank a few too many beers be...
分类:
其他好文 时间:
2015-05-30 12:14:16
阅读次数:
182
Description
Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he discovered that although he can't predict the quality of milk fro...
分类:
编程语言 时间:
2015-05-29 15:49:04
阅读次数:
125
Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 13500Accepted: 6968DescriptionBulls are so much better at math than the cows. They can multip...
分类:
其他好文 时间:
2015-05-28 12:26:17
阅读次数:
140