码迷,mamicode.com
首页 >  
搜索关键字:john    ( 3348个结果
poj3663 Costume Party
Costume Party Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11793   Accepted: 4770 Description It's Halloween! Farmer John is taking the cows to a costum...
分类:其他好文   时间:2015-02-20 14:08:50    阅读次数:133
POJ 3051 Satellite Photographs
Satellite Photographs Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u Submit Status Practice POJ 3051 Description Farmer John purchased satellite photos ...
分类:其他好文   时间:2015-02-18 11:56:19    阅读次数:194
枚举解Feed Ratios
Feed Ratios1998 ACM Finals, Dan Adkins Farmer John feeds his cows only the finest mixture of cow food,which has three components: Barley, Oats, and Wheat. While he knowsthe precise mixture of these...
分类:移动开发   时间:2015-02-17 21:06:33    阅读次数:237
UVA 10305- Ordering Tasks(经典拓扑排序)
Problem F Ordering Tasks Input: standard input Output: standard output Time Limit: 1 second Memory Limit: 32 MB   John has n tasks to do. Unfortunately, the tasks are not independent and the ex...
分类:编程语言   时间:2015-02-15 09:27:11    阅读次数:249
poj 3259 Wormholes[ bellman_ford 判负环]
Wormholes Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path that delivers you to it...
分类:其他好文   时间:2015-02-13 11:41:25    阅读次数:145
欢迎使用CSDN-markdown编辑器
实战出精华 用具体的C++网络编程例子来提升你的逼格 John Torjo Boost.Asio C++ 网络编程...
分类:其他好文   时间:2015-02-12 10:44:58    阅读次数:233
Face The Right Way poj 3276 开关问题
题意:n头牛站成一列,每头牛或者向前或者向后,要求通过转向让所有的牛都面向前方,使K头连续的牛转向为一次操作,求最小的操作次数M和对应的K。开关问题...
分类:其他好文   时间:2015-02-12 09:21:44    阅读次数:223
poj2112Optimal Milking(最优秀的挤奶方案)——floyd+最大流+二分
http://poj.org/problem?id=2112题目描述: 农场主John 将他的K(1≤K≤30)个挤奶器运到牧场,在那里有C(1≤C≤200)头奶牛,在奶 牛和挤奶器之间有一组不同长度的路。K个挤奶器的位置用1~K的编号标明,奶牛的位置用K+1~ K+C 的编号标明。 每台挤奶器每天最多能为M(1≤M≤15)头奶牛挤奶。 编写程序,寻找一个方案,安排每头奶牛到某个挤奶器挤奶...
分类:其他好文   时间:2015-02-11 22:03:37    阅读次数:232
POJ 1041 John's trip (欧拉回路)
题目地址:POJ 1041 题目要求是字典序,所以要先对边号进行排序,使得每次总是先遍历到边号较小的点。用vector比较方便。 代码如下: #include #include #include #include #include #include #include #include #include using namespace std; #define LL long...
分类:其他好文   时间:2015-02-11 18:43:41    阅读次数:178
POJ 3259 Wormholes(最短路,判断有没有负环回路)
F - Wormholes Time Limit:2000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64u SubmitStatus Description While exploring his many farms, Farmer John has discovered a number of...
分类:其他好文   时间:2015-02-11 14:43:04    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!