码迷,mamicode.com
首页 >  
搜索关键字:poj3278    ( 40个结果
poj3278 Catch That Cow
http://poj.org/problem?id=3278 题目大意:农场主约翰得知了一头逃跑的母牛的行踪,想立即抓住她。他从一个点开始,N(0≤N≤100000)在数轴上,牛点K(0≤K≤100000)在同一数轴。农夫约翰有两种交通方式:步行和心灵运输。 *行走:FJ可以在一分钟内从任意点X移动 ...
分类:其他好文   时间:2018-04-27 02:30:27    阅读次数:191
【搜索】POJ3278:Catch That Cow
Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,00 ...
分类:其他好文   时间:2018-02-12 23:40:52    阅读次数:186
poj3278 bfs
Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 102339 Accepted: 31988 Description Farmer John has been informed of the loca ...
分类:其他好文   时间:2018-01-07 15:53:31    阅读次数:149
POJ3278:Catch That Cow
POJ3278:Catch That Cow kuangbin专题一:C题 题目链接:http://poj.org/problem?id=3278 Description Farmer John has been informed of the location of a fugitive cow ...
分类:其他好文   时间:2017-10-08 18:10:53    阅读次数:205
【BFS】Catch That Cow(POJ3278)
Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,00 ...
分类:其他好文   时间:2017-09-06 10:05:44    阅读次数:203
poj3278 【DFS】
Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 97240 Accepted: 30519 Description Farmer John has been informed of the locat ...
分类:其他好文   时间:2017-08-22 13:19:57    阅读次数:185
poj3278
#include #define MAX 100001 int john,cow; int queue[MAX]; int vis[MAX]; int ans; void bfs() { int tail,head; tail=head=0; int start=john; queue[tail++... ...
分类:其他好文   时间:2017-04-28 16:10:10    阅读次数:204
poj3278 Catch That Cow
Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,00 ...
分类:其他好文   时间:2017-04-23 18:15:02    阅读次数:135
poj3278_kuagnbin带你飞专题一
Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 88247 Accepted: 27640 Description Farmer John has been informed of the locat ...
分类:其他好文   时间:2017-04-12 21:34:46    阅读次数:257
POJ3278(KB1-C 简单搜索)
Catch That Cow Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N  ...
分类:其他好文   时间:2017-02-22 13:25:59    阅读次数:202
40条   上一页 1 2 3 4 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!