I was seeing the solution of this 518D - Ilya and Escalator in the tutorial, and i don't know why after calculate the dp the answer is for j from 0 to n dp[j][t]*j
. What mean the multiplication?, i don't understand this. Thank for your time!!!
I was seeing the solution of this 518D - Ilya and Escalator in the tutorial, and i don't know why after calculate the dp the answer is for j from 0 to n dp[j][t]*j
. What mean the multiplication?, i don't understand this. Thank for your time!!!
Expected value =
So, answer =
wiki
Thank, i did not know this topic and i trying to calculate the probability but the problem did not give me equal to the solution, and i see the tutorial but the solution taken aback.