把邊拆成兩個 變成Directed Graph

去作Euler Circuit的演算法即可

蠻典型的題目

 

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

arrow
arrow
    全站熱搜

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