题目描述 了解奶牛们的人都知道,奶牛喜欢成群结队.观察约翰的N(1≤N≤100000)只奶牛,你会发现她们已经结成了几个“群”.每只奶牛在吃草的时候有一个独一无二的位置坐标Xi,Yi(l≤Xi,Yi≤[1..10^9];Xi,Yi∈整数.当满足下列两个条件之一,两只奶牛i和j是属于同一个群的: 1. ...
分类:
其他好文 时间:
2017-07-11 09:32:57
阅读次数:
210
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-07-10 18:05:01
阅读次数:
215
此文为博主原创题解,转载时请通知博主,并把原文链接放在正文醒目位置。 题目链接:https://www.luogu.org/problem/show?pid=2879 题目描述 FJ's N (1 ≤ N ≤ 10,000) cows conveniently indexed 1..N are st ...
分类:
其他好文 时间:
2017-07-09 10:43:07
阅读次数:
278
Silver Cow Party Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 12494 Accepted: 5568 Description One cow from each of N farms (1 ≤ N ≤ 100 ...
分类:
编程语言 时间:
2017-07-08 21:03:31
阅读次数:
270
题目链接:http://poj.org/problem?id=3278 这几次都是每天的第一道题都挺顺利,然后第二道题一卡一天。 = =,今天的这道题7点40就出来了,不知道第二道题在下午7点能不能出来。0 0 先说说这道题目,大意是有个农夫要抓牛,已知牛的坐标,和农夫位置。并且农夫有三种移动方式, ...
分类:
其他好文 时间:
2017-07-05 09:58:38
阅读次数:
175
2703: Cow Digit Game Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByte Total Submit: 1 Accepted:1 Description Bessie is playing a number ...
分类:
其他好文 时间:
2017-07-03 23:43:55
阅读次数:
242
umping Cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7579 Accepted: 4559 Description Farmer John's cows would like to jump over the ...
分类:
其他好文 时间:
2017-07-03 21:00:42
阅读次数:
276
Cow Exhibition Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13578 Accepted: 5503 Description "Fat and docile, big and dumb, they look so ...
分类:
其他好文 时间:
2017-07-03 19:52:41
阅读次数:
213
The Cow Lexicon Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 8167 Accepted: 3845 Description Few know that the cows have their own dicti ...
分类:
其他好文 时间:
2017-07-03 18:32:51
阅读次数:
171