結果 : algorithm of big m method