2013年2月15日

USACO2.4.3--Cow Tours

摘要: 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 @ 2013-02-15 22:02 仗剑奔走天涯 阅读(228) 评论(0) 推荐(0) 编辑

导航