結果 : nested for loop alternative