def my_rand(seed): res = [] x = seed a = 22695477 m = 2**32 # 循环范围 c = 1 for i in range(200): x = (a*x+c) % m res.append(x) return res