注意他的解密是 l=((l+ans)%n)+1l=((l+ans)\%n)+1l=((l+ans)%n)+1 而不是 (l+ans)%(n+1)(l+ans)\%(n+1)(l+ans)%(n+1)
我因为这个改了好久,建议修改题面