You are right, but “Smoke God” is a brand new open-world adventure game independently developed by Ding Zhenzhen. The game takes place in a fantasy world called “Litang”, where people chosen by the gods will be granted “electronic cigarettes” to guide the power of nicotine. You will play a mysterious character named “Furong Wang” and meet animal friends with different personalities and unique abilities during your free travels. Together, you will defeat powerful enemies, find lost family members, and gradually uncover the truth about “Litang”.
The harm of electronic cigarettes to the body is significant, and the damage to body depends on the level of addiction.
Let's assume that Ding Zhenzhen's current addiction level is
jjj, and the damage to body is
xxx. When she smokes
iii-th electronic cigarette:
-
There is a probability of ppp that the addiction level increases by one, and xxx is multiplied by AjA_jAj.
-
There is a probability of 1−p1-p1−p that the addiction level remains unchanged, and xxx is multiplied by Bj+CiB_j+C_iBj+Ci.
However, you do not know Ding Zhenzhen's current addiction level and the current damage to her body. You only know that if her addiction level is
jjj, the current damage to her body is
DjD_jDj.
Assuming that the initial addiction level to Ding Zhenzhen's body is equally likely to be any integer from
111 to
mmm. Given
NNN, what is the expected damage to her body after smoking
n=1,2⋯,Nn=1,2\cdots,Nn=1,2⋯,N cigarettes?