結果 : latex algorithm return 0