グリーディアルゴリズムが不適格

強欲な方法は正しく全てのケースを解けなかった。全部の分離を試すブル―ト・フォースの方法もあるけど必要ではないはずです。やっぱり右に移す件と左に移す件を分離する位置は全ての所を試さなければいけません。All possible partition points must be searched and, given the partition point, all elements must be iterated over to find the new left and right extrema of the point set.