码迷,mamicode.com
首页 >  
搜索关键字:lost cows    ( 2004个结果
poj 3617 Best Cow Line (字符串反转贪心算法)
Best Cow LineTime Limit:1000MSMemory Limit:65536KTotal Submissions:9284Accepted:2826DescriptionFJ is about to take hisN(1 ≤N≤ 2,000) cows to the annua...
分类:其他好文   时间:2014-07-09 14:20:50    阅读次数:2624
POJ 2057 The Lost House
The Lost House Time Limit: 3000MS   Memory Limit: 30000K Total Submissions: 2140   Accepted: 886 Description One day a snail climbed up to a big tree and finally came to th...
分类:其他好文   时间:2014-07-08 18:08:00    阅读次数:267
POJ 3176:Cow Bowling
Cow Bowling Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 13464   Accepted: 8897 Description The cows don't use actual bowling balls when they go bowling...
分类:其他好文   时间:2014-07-08 18:00:15    阅读次数:230
poj 2393 Yogurt Factory(贪心)
DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the next N (1 #includeint min(int a,int b){ if(a>b) ...
分类:其他好文   时间:2014-07-06 14:21:54    阅读次数:215
poj 2749 Building roads (二分+拆点+2-sat)
Building roads Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 6229   Accepted: 2093 Description Farmer John's farm has N barns, and there are some cows that...
分类:其他好文   时间:2014-06-30 10:55:18    阅读次数:146
TJU 4087. box
题目:Tuhao and his two small partners participated in the tournament.But in the end, they lost the chance to finish a mathematical problem.After the com...
分类:其他好文   时间:2014-06-25 18:07:35    阅读次数:333
POJ 3252 Round Numbers 数学题解
Description The cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, Paper, Scissors', 'Ro, Sham, Bo', and a host of other names) i...
分类:其他好文   时间:2014-06-22 17:15:11    阅读次数:275
POJ3169-Layout
Layout Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6582   Accepted: 3182 Description Like everyone else, cows like to stand close to their friends when que...
分类:其他好文   时间:2014-06-21 23:54:18    阅读次数:307
POJ 2057 The Lost House
树形DP的第一题,看了好几天才明白.... 题目大意: 有一只蜗牛爬上某个树枝末睡着之后从树上掉下来,发现后面的"房子"却丢在了树上面, 现在这只蜗牛要求寻找它的房子,它又得从树根开始爬起去找房子。现在要求一条路径使得其找到房子所要爬行的期望距离最小。 解题思路: 影响期望的因素有树的结构,分支节点上是否有虫子,蜗牛走的路线。 对于任意一棵子树来说树的结构,分支节点上是否...
分类:其他好文   时间:2014-06-17 22:32:43    阅读次数:197
hdu3045之斜率DP
Picnic Cows Time Limit: 8000/4000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1563    Accepted Submission(s): 478 Problem Description It’s summer voc...
分类:其他好文   时间:2014-06-10 07:00:32    阅读次数:262
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!