結果 : latex algorithm if statement