I just came across a problem on expected values, and I didn't understand the editorial at all. Watched a couple of videos on youtube, but they were very basic. Can someone please give me a good source to learn expected values used in competitive programming, such as the last contest had an EV problem. This is the one I'm currently attempting. Even better if someone makes a screencast of them solving such problems. Please help!
Maybe this will help.