結果 : brute force method algorithm example