Branched Evolution

Competitive Programming in Python

Entries from 2020-10-12 to 1 day

HHKB 2020 F - Random Max

各 $i = 1, \ldots , n$ について確率変数 $X _ {i}$ が独立に $[L _ {i}, R _ {i}]$ 上の一様分布に従うとき,$Y = \mathrm{max} \{ X _ {1} , \ldots , X _ {n} \}$ の期待値を求める.