Description: Assuming that the Tsinghua campus Total tourist attractions N (including certain the teaching building), the unique number given 0 to N-1. We are given a score in each of the attractions to tourists to its evaluation. Rated 0 attractions are the teaching floor (assuming tourists on teaching building is not interested in), and other attractions score greater than 0. These attractions or the road connected directly or indirectly connected through other attractions, known attractions road length, road a total of R. As shown in Figure 1, where a total of 10 points of interest (Si, i = 0, " , 9), the score of each attraction are given in parentheses nodes such attractions score 3 points, Attractions 5 ( teaching building) score of 0 points. rated 0 Attractions teaching building Other attractions in the non-teaching building design algorithms to solve some practical problems
To Search:
File list (Check if you may need any files):
d\d.cpp
.\input.txt
.\output.txt
d