原帖由 [bold][underline]nuciewth[/underline][/bold] 于 2007-12-10 10:01 发表 [url=http://bbs.]
" border="0" />[/url]
设定一标记一结点,从这结点开始,只要重新遍历到该结点则表示有循环。
[size=4]Wrong!!![/size]
Since this might 标记 on the point before cycle happens.
Just think the letter
b, circle does exist, but if you mark at the beginning will be garanteed to fail.
[[italic] 本帖最后由 ranchgirl 于 2007-12-10 10:34 编辑 [/italic]]