码迷,mamicode.com
首页 >  
搜索关键字:btrfs btree cow    ( 2269个结果
POJ2230 Watchcow 【欧拉回路】+【DFS】
Watchcow Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 5964   Accepted: 2561   Special Judge Description Bessie's been appointed the new watch-cow for ...
分类:其他好文   时间:2014-08-04 14:22:57    阅读次数:197
POJ 3268 Silver Cow Party
?? Silver Cow Party Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 12633   Accepted: 5631 Description One cow from each of N farms (1 ≤ N ≤ 1000) convenien...
分类:其他好文   时间:2014-08-02 18:29:13    阅读次数:289
poj3267(The Cow Lexicon)
题目地址:The Cow Lexicon题目大意: 奶牛有自己的识别单词的语言,它有自己的字典序列,如果给一串字符不符合奶牛的字典里的单词,奶牛就无法识别,你的任务就是找出给的字符串中包含给出奶牛字典的单词,至少从主串里删除几个字符,使主串只包含奶牛字典里的单词,不包含多于的字符。解题思路: ...
分类:其他好文   时间:2014-08-02 12:44:13    阅读次数:345
POJ3189_Steady Cow Assignment(二分图多重匹配/网络流)
解题报告 题目传送门 题意: B个猪圈,N头猪,每头猪对每个猪圈有一个满意值,要求安排这些猪使得最大满意和最小满意的猪差值最小 思路: 二分图的多重匹配问题; 猪圈和源点连边,容量为猪圈容量,猪与汇点连边,容量1; 猪圈和猪之间连线取决所取的满意值范围; 二分查找满意值最小差值的范围。 #include #include #include #include #define...
分类:其他好文   时间:2014-08-01 19:45:22    阅读次数:317
Bone Collector(dp 01背包)
Problem Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grav...
分类:其他好文   时间:2014-08-01 16:12:41    阅读次数:264
tarjan+缩点
B - Popular Cows Time Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u Submit Status Description Every cow's dream is to become the most popular cow in the her...
分类:其他好文   时间:2014-08-01 13:38:31    阅读次数:222
Cow Uncle 学习了叉积的一点运用,叉积真的不错
Cow UncleTime Limit:4000/2000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem DescriptionSouth China Algorithm University ...
分类:其他好文   时间:2014-08-01 13:27:41    阅读次数:274
POJ--3268--Silver Cow Party【SPFA+邻接表】
题意:一些牛要去某一点参加聚会,然后再回到自己家,路是单向的,问花费时间最多的那头牛最少需要花费多长时间。 思路:从聚会地点返回,相当于是从某一点到其他各个点的最短路径。从牛的家中走到聚会地点,可以把路径反过来变成从聚会地点到各个点的最短路径,两个最短路径值加起来就是每头牛所花费的最小时间,找出最大的即可。 我用了两个邻接表存路径,其实这道题用邻接矩阵存更好做,矩阵横纵坐标翻转就把路径...
分类:其他好文   时间:2014-08-01 00:03:40    阅读次数:269
POJ 3189 Steady Cow Assignment(网络流之最大流+二分构图)
题目地址:POJ 3189 我晕啊。。。飞快的把白天的任务完成又有什么用。。。节省下来的时间活生生的被我的手残给全浪费掉了。。。又调了一整天,问题居然是一个地方的n和m写反了!!!反思。。反思。。。面壁去。。。 这题就是二分区间,然后枚举区间位置。然后建图就行了。不多说。。 代码如下: #include #include #include #include #include #i...
分类:其他好文   时间:2014-08-01 00:02:00    阅读次数:263
POJ 3280 Cheapest Palindrome (DP)
?? Description Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID tag that the system will read ...
分类:其他好文   时间:2014-07-29 13:22:46    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!