結果 : divide and conquer algorithm code in c++