結果 : min cost flow algorithm