把邊拆成兩個 變成Directed Graph

去作Euler Circuit的演算法即可

蠻典型的題目

 

http://nopaste.csie.org/8da63

文章標籤
全站熱搜
創作者介紹
創作者 robertanders 的頭像
robertanders

Robert Anderson's Blog

robertanders 發表在 痞客邦 留言(0) 人氣(17)