VK Cup 2016 - Round 2 D. Little Artem and Random Variable(已知两个撒子掷出的点数较大为1,2,...,n的概率,较小为1,2,...,n概率)
D.LittleArtemandRandomVariabletimelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputLittleArtyomdecidedtostudyprobabilitytheory.Hefoundabookwithalotofniceexercise