摘要:
The Tamworth TwoBIO '98 - Richard ForsterA pair of cows is loose somewhere in the forest. Farmer John is lending his expertise to their capture. Your task is to model their behavior.The chase takes place on a 10 by 10 planar grid. Squares can be empty or they can contain:an obstacle,the cows (wh 阅读全文
posted @ 2012-09-07 22:43
mtry
阅读(235)
评论(0)
推荐(0)
摘要:
Bessie Come HomeKolstad & BurchIt's dinner time, and the cows are out in their separate pastures. Farmer John rings the bell so they will start walking to the barn. Your job is to figure out which one cow gets to the barn first (the supplied test data will always have exactly one fastest cow 阅读全文
posted @ 2012-09-07 16:59
mtry
阅读(399)
评论(0)
推荐(0)
摘要:
Cow ToursFarmer John has a number of pastures on his farm. Cow paths connect some pastures with certain other pastures, forming a field. But, at the present time, you can find at least two pastures that cannot be connected by any sequence of cow paths, thus partitioning Farmer John's farm into m 阅读全文
posted @ 2012-09-07 11:15
mtry
阅读(769)
评论(0)
推荐(1)