摘要:
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. Yourjob is to figure out which one cow gets to the barn first (the suppliedtest data will always have exactly one fastest cow).B 阅读全文
posted @ 2013-01-30 23:56
cssystem
阅读(345)
评论(0)
推荐(0)
摘要:
Cow ToursFarmer John has a number of pastures on his farm. Cow pathsconnect some pastures with certain other pastures, forming a field.But, at the present time, you can find at least two pastures thatcannot be connected by any sequence of cow paths, thus partitioningFarmer John's farm into multi 阅读全文
posted @ 2013-01-30 23:10
cssystem
阅读(869)
评论(0)
推荐(0)
摘要:
OverfencingKolstad and Schrijvers Farmer John went crazy and created a huge maze of fences out in afield. Happily, he left out two fence segments on the edges, and thuscreated two "exits" for the maze. Even more happily, the mazehe created by this overfencing experience is a `perfect' 阅读全文
posted @ 2013-01-30 23:06
cssystem
阅读(392)
评论(0)
推荐(0)
浙公网安备 33010602011771号