原题中生成数据方法似乎是 l=(x+last) mod n+1l=(x+last)\bmod n+1l=(x+last)modn+1
而不是翻译中的l=(x+last) mod (n+1)l=(x+last)\bmod(n+1)l=(x+last)mod(n+1)