出處:https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4088
解題策略:尤拉定理,封閉區域個數(E) = 邊的個數(E) - 頂點個數(V) + 2
參考程式碼