0%

Problem 816


Problem 816


Shortest distance among points

We create an array of points Pn in a two dimensional plane using the following random number generator:

s0=290797

sn+1=sn2mod50515093

Pn=(s2n,s2n+1)

Let d(k) be the shortest distance of any two (distinct) points among P0,,Pk1.

E.g. d(14)=546446.466846479

Find d(2000000). Give your answer rounded to 9 places after the decimal point.


随机点集最短距离

使用下列随机数生成器生成二维随机点列Pn

s0=290797

sn+1=sn2mod50515093

Pn=(s2n,s2n+1)

d(k)P0,,Pk1中任意(不同的)两点间最短距离。

已知d(14)=546446.466846479

d(2000000),并将你的答案四舍五入至小数点后9位。


Gitalking ...