摘要:Problem DescriptionThere is a strange country somewhere which its transportation network was built following some weird rules: Consider the transportation network as a connected undirected graph G with N nodes and M edges(nodes indicate cities,and people can travel from cities to cities by roads con
阅读全文
摘要:POJ1635 Subway tree systemsTime Limit:1000MSMemory Limit:10000KTotal Submissions:5470Accepted:2248DescriptionSome major cities have subway systems in the form of a tree, i.e. between any pair of stations, there is one and only one way of going by subway. Moreover, most of these cities have a unique
阅读全文
摘要:HDU3954 Level upTime Limit: 10000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1846Accepted Submission(s): 520Problem DescriptionLevel up is the task of all online games. It's very boooooooooring. There is only level up in those games, except level up.In a o
阅读全文
摘要:POJ1990MooFestTime Limit:1000MSMemory Limit:30000KTotal Submissions:3400Accepted:1330DescriptionEvery year, Farmer John's N (1 <= N <= 20,000) cows attend "MooFest",a social gathering of cows from around the world. MooFest involves a variety of events including haybale stacking,
阅读全文