結果 : what is loop invariant in algorithm