Constructing Roads
摘要:Problem DescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to each other. We say two village A and B are connected, if and only if there is a road between A and B, or there exists a village C such that there is a
阅读全文
posted @ 2013-04-02 14:02

浙公网安备 33010602011771号