题面: 3887: [Usaco2015 Jan]Grass Cownoisseur Description In an effort to better manage the grazing patterns of his cows, Farmer John has installed one-w ...
分类:
其他好文 时间:
2017-07-13 22:41:51
阅读次数:
169
题目描述 给定的n个点中有m条边,求从1到n之间的最短距离。 题解 裸的,bellman-Ford 或者spfa就好了。好久没打最短路了随手打了一下。 ...
分类:
其他好文 时间:
2017-07-13 16:28:28
阅读次数:
170
题目描述 Farmer John dutifully checks on the cows every day. He traverses some of the M (1 <= M <= 50,000) trails conveniently numbered 1..M from pasture ...
分类:
其他好文 时间:
2017-07-11 22:56:38
阅读次数:
180
Description Lost and AekdyCoin are friends. They always play "number game"(A boring game based on number theory) together. We all know that AekdyCoin ...
分类:
其他好文 时间:
2017-07-11 21:08:48
阅读次数:
244
<body> <audio controls="controls"> <source src="林ゆうき - lost case.mp3"></source> <source src="林ゆうき - lost case.mav"></source> </audio> <input type="ran ...
分类:
Web程序 时间:
2017-07-10 23:40:03
阅读次数:
278
题目描述 The N cows (2 <= N <= 1,000) conveniently numbered 1..N are grazing among the N pastures also conveniently numbered 1..N. Most conveniently of al ...
分类:
其他好文 时间:
2017-07-10 23:32:01
阅读次数:
200
ACM-DIY is a large QQ group where many excellent acmers get together. It is so harmonious that just like a big family. Every day,many "holy cows" like ...
分类:
编程语言 时间:
2017-07-10 13:13:08
阅读次数:
172
此文为博主原创题解,转载时请通知博主,并把原文链接放在正文醒目位置。 题目链接: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
题目描述 Farmer John always wants his cows to have enough water and thus has made a map of the N (1 <= N <= 700) water pipes on the farm that connect the ...
分类:
其他好文 时间:
2017-07-09 10:29:54
阅读次数:
256
Jumping Cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7624 Accepted: 4586 Description Farmer John's cows would like to jump over the ...
分类:
其他好文 时间:
2017-07-08 20:18:55
阅读次数:
208