Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:BFS+PRIM是对的,你对题目理解有误In Reply To:这道题 用BFS+PRIM 真的对吗 Posted by:ljhzxc at 2015-11-04 11:38:25 你举的例子,答案分别是6和16没错。 原文"Whenever an alien is assimilated, or at the beginning of the search, the group may split in two or more groups" 只有初始点和接触外星人(“A”)之后,队伍(路径)才会分裂。也就是说你不能走路走到一半什么都没碰到就分成两条路了。再换句话说就是“只有S和A才算作节点” Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator